Git – Fixing Error – Out of Memory, malloc failed

Saving this for later, but this was my solution for fixing the malloc error. Probably not the best thing in the world that http postBuffer is set to 99999999 but it fixed the issue and I moved on coding.

git config --global pack.threads 1
git config --global core.packedGitLimit 256m
git config --global core.packedGitWindowSize 256m
git config --global pack.deltaCacheSize 256m
git config --global pack.packSizeLimit 256m
git config --global pack.windowMemory 256m
git config --global http.postBuffer 999999999

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s