I have two servers set up (as far as I know) exactly the same. On one of them, committing with git has always been fine, however on the second one, I\'ve started getting thi
I get this error when git is prevented from MMAPing memory (due to a limit on the process).
On 64-bit architecture, git will attempt to mmap 1G of memory, which is surprisingly large and may cause issues if you're using ulimit (or chpst / softlimit) to control processes.
Removing the memory limit fixes things (for me).