User Tools

Site Tools


error_out_of_memory_malloc_failed_git

fatal: Out of memory, malloc failed (tried to allocate XXXX bytes) en GIT

Error / Problema.

git clone ssh://usuario@dominio:7999/proyecto/nombre.git
Cloning into 'nombre'...
remote: Counting objects: 731105, done.
remote: Compressing objects: 100% (193828/193828), done.
fatal: Out of memory, malloc failed (tried to allocate 397600506 bytes)
fatal: index-pack failed

Solución: Editar la configuración de git del usuario $HOME/.gitconfig y agregar / editar las secciones “core” y “pack”

[core]
  packedGitLimit = 128m
  packedGitWindowSize = 128m
 
[pack]
  deltaCacheSize = 128m
  packSizeLimit = 128m
  windowMemory = 128m
 
...

Parámetros de git utilizados: http://git-scm.com/docs/git-config

error_out_of_memory_malloc_failed_git.txt · Last modified: 2020/12/25 22:57 by 127.0.0.1