git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Jampen <jampen@kinet.ch>
To: git@vger.kernel.org
Subject: Out of memory error during git push
Date: Fri, 20 Aug 2010 11:11:00 +0200	[thread overview]
Message-ID: <4C6E46A4.8050502@kinet.ch> (raw)

Hi all

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
error: pack-objects died with strange error
error: failed to push some refs to
'ssh://nas//share/MD0_DATA/user/repositories/backup.mypc'

I've searched the internet and found suggestions to try to repack with
lower values for 'depth', 'window' and 'windowMemory'. I used 3, 3, 50
respectively, but a push after the repack command resulted in the same
error.

I tried git fsck which reported a few dangling blobs only and I got the
same error again during the next push.

I watched /proc/meminfo and /proc/swaps on the NAS while pushing and saw
that there are always 20-50MB of free RAM and that from 512MB swap space
only about 180MB are used.

What else can I try to successfully push my repo to my NAS?

Thanks for your help,
Tom

             reply	other threads:[~2010-08-20  9:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20  9:11 Thomas Jampen [this message]
2010-08-20 12:51 ` Out of memory error during git push Jonathan Nieder
2010-08-20 14:26   ` Thomas Jampen
2010-08-20 14:50     ` Jonathan Nieder
2010-08-20 16:01       ` Thomas Jampen
2010-08-20 17:26       ` Nicolas Pitre
2010-08-20 20:59   ` Nicolas Pitre
2010-08-20 21:21     ` Thomas Jampen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6E46A4.8050502@kinet.ch \
    --to=jampen@kinet.ch \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).