今天在git pull时,遇到一个报错:
fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes)
解决:
找到.gitconfig文件
在这里插入图片描述
然后将 postBuffer 项注释掉或修改大一点

[http]
	#postBuffer = 524288000
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐