quoted
vm.overcommit_memory = 0
Do you propose to set this to '2' in order to disable
overcommitting?
It might be interesting to try
echo 1 >/proc/sys/vm/overcommit_memory
but 0 is generally the only sane setting.
I set the value on both (Laptop and NAS) and got the following error:
Counting objects: 13051, done.
Delta compression using up to 2 threads.
warning: suboptimal pack - out of memory
Compressing objects: 100% (9848/9848), done.
error: index-pack died of signal 9), 1.27 GiB | 308 KiB/s
error: pack-objects died of signal 13
error: pack-objects died with strange error
error: failed to push some refs to 'ssh://...'
Any ideas?
Tom