From: Phil Susi <psusi@ubuntu.com>
To: git@vger.kernel.org
Subject: git-repack keeps running out of memory
Date: Mon, 01 Jun 2015 14:39:04 -0400 [thread overview]
Message-ID: <556CA6C8.6000804@ubuntu.com> (raw)
I keep having git-repack run out of virtual memory ( 32 bit system )
when trying to repack my linux kernel repo. It keeps making it right up
to 99% then barfing saying mmap failed: Cannot allocate memory.
I thought I could help this by limiting the pack size, and using
--window-memory to limit the memory usage, but it still happens with
this full command line:
git repack -a -d --max-pack-size=500m -f -F --depth=20 --window=250
--window-memory=500m
The key factor seems to be the --window... with 50 it works fine, but
with 100 or more, even with the very low --window-memory limit, it crashes.
next reply other threads:[~2015-06-01 18:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 18:39 Phil Susi [this message]
2015-06-01 18:43 ` git-repack keeps running out of memory Junio C Hamano
2015-06-01 19:07 ` Phil Susi
2015-06-01 20:58 ` Jeff King
2015-06-02 0:04 ` Phillip Susi
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=556CA6C8.6000804@ubuntu.com \
--to=psusi@ubuntu.com \
--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).