Git pull失败,“mmap失败:无法分配内存”

时间:2016-06-29 08:35:42

标签: git

我正在尝试使用git pull拉出存储库,并且我一直收到以下错误:

remote: Counting objects: 142, done.
remote: Compressing objects: 100% (134/134), done.
remote: Total 142 (delta 73), reused 0 (delta 0)
Receiving objects: 100% (142/142), 1.11 MiB | 1.02 MiB/s, done.
fatal: mmap failed: Cannot allocate memory
fatal: index-pack failed

我将packSizeLimitdeltaCacheSizewindowMemory更改为4m并执行了git repack,但它没有帮助。不幸的是,我的存储库包含了几个图像,它所在的服务器非常弱。有办法解决这个问题吗?

0 个答案:

没有答案