repo sync失败 remote: warning: suboptimal pack - out of memory

From ssh://127.0.0.1/home/git/git_repo/pre-demo/lichee/buildroot
 * [new tag]         exdroid4.4.4_r2-a83-v1.2.1 -> exdroid4.4.4_r2-a83-v1.2.1
 * [new tag]         exdroid4.4.4_r2-a83-v1.2rc2 -> exdroid4.4.4_r2-a83-v1.2rc2
remote: Counting objects: 2465309, done.
remote: Compressing objects: 100% (382123/382123), done.
Receiving objects: 100% (2465309/2465309), 562.23 MiB | 46.51 MiB/s, done.
remote: Total 2465309 (delta 2059131), reused 2464957 (delta 2058865)
Resolving deltas: 100% (2059131/2059131), done.
remote: warning: suboptimal pack - out of memory
remote: fatal: Out of memory, malloc failed (tried to allocate 428538881 bytes)
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header


解决方法:
在目录   /home/git/git_repo/pre-demo/lichee/
./repo.git/config
./tools.git/config
./manifest.git/config
./brandy.git/config
./linux-3.4.git/config
./.repo/repo/.git/config
./.repo/manifests/.git/config
./.repo/manifests.git/config
./buildroot.git/config

每个config添加
[pack]  
        window = 0
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值