Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: Out of memory error during git push

From: Thomas Jampen <hidden>
Date: 2016-06-15 22:49:21

Hi
quoted
I'm experiencing the following error while pushing a git repo (home
directory) to my QNAP TS-210:

user@mypc:~$ git push origin master
Counting objects: 12532, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8974/8974), done.
fatal: Out of memory, malloc failed, 986.06 MiB | 1.65 MiB/s
error: pack-objects died of signal 13
What version of git are you using?  Do you have overcommit accounting
enabled?
I'm using git version 1.7.0.4 on my Kubuntu 10.04 Laptop and git version
1.7.1.1 on my QNAP NAS.

On my Laptop and on the NAS, when I execute: sudo sysctl vm.overcommit_memory
I get:
vm.overcommit_memory = 0

Do you propose to set this to '2' in order to disable overcommitting? If yes, where (on the Laptop and/or on the NAS)?

Thanks,
Tom
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help