GIT: fatal: Out of memory, malloc failed (tried to allocate 889192448 bytes)

前端 未结 9 1499
有刺的猬
有刺的猬 2021-01-01 17:10

I have this error while pushing my project to tfs GIT.

fatal: Out of memory, malloc failed (tried to allocate 889192448 bytes)

9条回答
  •  天命终不由人
    2021-01-01 18:04

    I had the same problem on windows, exept with checkout another branch. Finally, I couldn't either pull or fetch my project beacause I got out of memory error ("try to allocate..." etc). I did the trick with increasing git pack and core limits but it didn't work for me. Finally, I deleted git from computer and install again. Problem was solved.

提交回复
热议问题