Git push - suboptimal pack - out of memory
git config --global pack.threads 1
The following command fixed the issue for me:
git config --global pack.windowMemory 256m
This affects effectiveness of delta compression so you might want to try a bigger size first, something like 1g, depending on your hardware and bandwidth.
More details here: https://www.kernel.org/pub/software/scm/git/docs/git-pack-objects.html
- May be git is suboptimal tool for handling large amount of big blobs.
- You can disable multi-threaded compression to save memory:
git config pack.threads 1
(in addition to other memory limiting options, likecore.bigfilethreshold
in newer Git)