遇到了存储库问题,并尝试了几乎所有可能的配置设置,例如。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
尝试了git gc和git repack的各种选项,但始终返回相同的错误。
几乎放弃了,即将创建一个新的仓库,但我想先问一下:)
湖上湖
UYOU