美文网首页
git push 失败出现 error: pack-object

git push 失败出现 error: pack-object

作者: MachinePlay | 来源:发表于2019-03-02 22:34 被阅读0次

git push origin master提示

git push -u origin master
warning: suboptimal pack - out of memory
Counting objects: 3460, done.
error: pack-objects died of signal 9)   
error: failed to push some refs to 'git@git.dev.tencent.com:MachinePlay/models.git'

问题分析

事实上前面有提示
warning: suboptimal pack - out of memory
内存问题内存满了,没办法打包,Memory: 1GB, Size of repo: 0.6GB

解决方法

-1. 重启
-2. kill掉占用内存的进程,然后 git repack

相关文章

网友评论

      本文标题:git push 失败出现 error: pack-object

      本文链接:https://www.haomeiwen.com/subject/ulquuqtx.html