尝试以下命令并面临错误。
C:\project\sys\src>git gc
计数对象:6342699,完成。
警告:次优包 - 内存不足
致命:内存不足,malloc 失败(试图分配 239971384 字节)
错误:无法运行重新打包
我努力了
git config --global pack.windowMemory 256m
git repack -a -f -d
更新最新的 git 扩展
git gc --aggressive --prune=now
我已经尝试了很多选项。但我仍然面临这个问题。知道为什么我会收到此错误吗?