I have to clean-up my git repository with git gc. Unfortunately I do get a fatal out of memory error.
ernst@samson:~/htdocs/stockdoo$ git gc
Counting objects: 42368, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (24700/24700), done.
fatal: Out of memory, malloc failed
error: failed to run repack
This is with git 1.7.4 on Ubuntu 10.4.
Any ideas to get arround this problem?