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大神指教~~~~