Tags: git, git push
在Azure 的VM上用git push 的时候碰到下面这个问题
error: pack-objects died of signal 9
解决方法是
git config --global pack.windowMemory "32m"
原理嘛。。。我也不懂
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.windowMemory
configuration variable.
没有评论:
发表评论