idea git拉代码时报错:Update failed Out of memory, malloc failed (tried to allocate 947912704 bytes)

环境:

windows10

idea2021.2.3(Ultimate Edition)

git version 2.21.0.windows.1

idea拉代码时报错:

Update failed
Out of memory, malloc failed (tried to allocate 947912704 bytes)

idea git拉代码时报错:Update failed Out of memory, malloc failed (tried to allocate 947912704 bytes)_第1张图片 

网上找了很多方法都不行, 后来找到这篇文章, 尝试之后发现有效, 故而记录一下.

git config --global http.postBuffer 947912704

git config --global core.compression -1

参考文章:

git clone报错: Out of memory, malloc failed (tried to allocate 524288000 bytes) - yvioo - 博客园

你可能感兴趣的:(intellij-idea,git,java)