昨天,今天,明天,每天的每天,你是否都多懂得一点点...

星期四, 九月 06, 2018

[网络技术]解决 git push 时 error: pack-objects died of signal 9

Tags: git, git push

在Azure 的VM上用git push 的时候碰到下面这个问题

error: pack-objects died of signal 9


解决方法是
git config --global pack.windowMemory "32m"

原理嘛。。。我也不懂


--window-memory=<n>

This option provides an additional limit on top of --window; the window size will dynamically scale down so as to not take up more than <n> bytes in memory. This is useful in repositories with a mix of large and small objects to not run out of memory with a large window, but still be able to take advantage of the large window for the smaller objects. The size can be suffixed with "k", "m", or "g". --window-memory=0 makes memory usage unlimited. The default is taken from the pack.windowMemoryconfiguration variable.



没有评论:

其它博客地址

此博客的同步博客地址: http://fengnz.wordpress.com
这里进入我的MSN SPACE.