📝

【GitHub】error: pack-objects died of signal 9

2024/09/12に公開

1. What is this article

This is a solution to this error on github. This occurred when trying to push to the repository.

・Error

error: pack-objects died of signal 9
fatal: the remote end hung up unexpectedly

・Solution

git config --global pack.windowMemory "32m"

1.1 Explain

Here is why the error occured.

pack.windowMemory::
    The maximum size of memory that is consumed by each thread
    in linkgit:git-pack-objects[1] for pack window memory when
    no limit is given on the command line.  The value can be
    suffixed with "k", "m", or "g".  When left unconfigured (or
    set explicitly to 0), there will be no limit.

This is over, thank you for reading.

Discussion