相关疑难解决方法(0)

Windows上的Git,"内存不足 - malloc失败"

遇到了存储库的问题,并尝试了几乎所有可能的配置设置,例如.pack.WindowMemory等等

我相信有人已经检查了一个大文件到远程存储库,现在每次我尝试拉动或推送它时,GIT会尝试打包它并耗尽内存:

Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 6279, done.
Compressing objects: 100% (6147/6147), done.
fatal: Out of memory, malloc failed (tried to allocate 1549040327 bytes)
error: failed to run repack
Run Code Online (Sandbox Code Playgroud)

尝试过各种选项的git gc&git repack,但仍然返回相同的错误.

几乎放弃了,即将创建一个新的回购,但我想先问一下:)

windows git

66
推荐指数
3
解决办法
7万
查看次数

GIT:致命:内存不足,malloc失败(试图分配889192448字节)

将项目推送到tfs GIT时出现此错误.

致命:内存不足,malloc失败(试图分配889192448字节)

git

11
推荐指数
3
解决办法
2万
查看次数

标签 统计

git ×2

windows ×1