git pull报错 Out of memory, malloc failed (tried to allocate 1783793664 bytes)
git pull报错 Out of memory, malloc failed (tried to allocate 1783793664 bytes)
·
1、首先查看git 的配置,当时我的配置太大了
$ git config --list --show-origin
以下是我查询出来的结果
file:C:/Users/admin/.gitconfig http.postbuffer=500000000000
2、更改大小
$ git config --global http.postbuffer 120m
3、重新拉取代码就可以啦
更多推荐
已为社区贡献2条内容
所有评论(0)