gitlab issue
when you pull or clone a big repo, you will suffer this problems:
Cloning into ‘F:\Git\GitProject****’…
remote: Counting objects: 683, done.
error: pack-objects died of signal 9
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
fatal: early EOF
remote: warning: suboptimal pack - out of memory
remote: aborting due to possible repository corruption on the remote side.
fatal: index-pack failed
git did not exit cleanly (exit code 128) (37924 ms @ 2016/11/2
#
Reason:
Git clone compresses the data while cloning the repository
It compresses the data on the server memory before receiving the data/files.
If the server has out of memory you will get the above error while packing the objects
You can fix the issue by making git clone the repository without packing the objects on the server with the following.
#
So
git config –global pack.window “0” (run in git client, never try on windows client . maybe good in linux)
or
you can add Mem on git server.
I solve this problems only add swap on git server.