Mac上 git clone 远端代码。报错: out of memory?

新手上路,请多包涵

macbook 16G内存。
git clone 时, 报错 out of memory。
具体中断指令如下:

my-Mac:mobile_world altman29$ git clone git@git.xxx.com:android/vrmeet.git
Cloning into 'vcrmeet'...
remote: Counting objects: 15156, done.
remote: fatal: Out of memory, malloc failed (tried to allocate 536817315 bytes)
error: git upload-pack: git-pack-objects died with error.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed

百度,Google过。有一种创建swap的解决方法当时好像不适合mac,提示没有mkswap指令,参考来源:创建swap文件

So,请Git大神指教~~~~

阅读 3.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏