Archives page

Posts Tagged ‘git’

git out of memory errors – git repack

Occasionally when using git (particularly with large repositories) you might come across an error that looks a little bit like this:

Code block    
remote: Counting objects: 506, done.
remote: fatal: Out of memory, malloc failed (tried to allocate 342222798 bytes)
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header

»