IDEA git 拉取代码时报错 Update failed Out of memory, malloc failed (tried to allocate 1572864000 bytes)

在IDEA 上Update Project 时报错,提示如下:

Update failed 
Out of memory, malloc failed (tried to allocate 1572864000 bytes)
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

解决办法:

执行:

git config --global http.postBuffer 1572864000
git config --global core.compression -1

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