今天在git pull时,遇到一个报错:
fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes)
解决:
找到.gitconfig文件
然后将 postBuffer 项注释掉或修改大一点
[http]
#postBuffer = 524288000
标签:malloc,tried,bytes,failed,allocate,memory,524288000,fatal
来源: https://blog.csdn.net/weixin_40660408/article/details/116807795