-
-
Notifications
You must be signed in to change notification settings - Fork 576
Debugging git issue
Gerhard edited this page Jan 13, 2015
·
2 revisions
With huge files in the git repository you might run into the situation that SparkleShare cannot push or clone a repository. If you try to clone the repository manually or check the SparkleShare log you might find this error.
21:38:34 | Git | SparkleShareTest | remote: error: pack-objects died of signal 9
21:38:34 | Git | SparkleShareTest | remote: error: pack-objects died with strange error
The most probable cause ist that the compression of the object took too much memory which triggers the OOM killer (out-of-memory killer). The OOM killer will terminate processes that consume most of the memory when the system runs out of free memory.
To avoid the compression, set the following values in the remote repository.
git config core.compression 0
git config core.loosecompression 0
git config pack.window 0
After setting those configuration items the compression will not happen for push, pull, clone.