This thread sugiere
run « git repack -adf --window=memory
» on the repo where memory is escalated appropriately for your machine.
Eso es más o menos la misma solución que para la pregunta SO "Repack of Git repository fails".
git repack -a -d --window-memory 10m --max-pack-size 20m
Sin embargo, Mark Longair se warn you that:
Your solution has got you a working copy locally and remotely, but will cause problems again when the remote repository decides to repack itself again.
Así configurar pack.windowMemory
y pack.packSizeLimit
es una solución mucho más seguro, así como la comprobación de la configuración de core.packedxxx
y core.deltaxxx
.
Para msysgit en Windows, este comentario menciones:
git config --global pack.windowMemory 256m
worked for me
(had have memory alloc error on 64 bit windows (Git-1.7.6-preview20110708.exe)