fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes)解决

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

[http]
	#postBuffer = 524288000
上一篇:calloc函数与malloc比较


下一篇:LibOpenCM3(五) 基础功能: 系统时钟, GPIO, 定时器