Is there a way to limit the amount of memory that “git gc” uses?
I used instructions from this link. Same idea as Charles Baileys suggested. A copy of the commands is here: git config –global pack.windowMemory “100m” git config –global pack.packSizeLimit “100m” git config –global pack.threads “1” This worked for me on hostgator with shared hosting account.