git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What the best git repack option to avoid out of memory (2G free memory)
@ 2011-04-17  3:24 Ping Yin
  2011-04-17  3:32 ` Ping Yin
  0 siblings, 1 reply; 2+ messages in thread
From: Ping Yin @ 2011-04-17  3:24 UTC (permalink / raw)
  To: git mailing list

When "gc --auto --aggressive --prune" android platform/prebuilt.git, i
encountered the following error:

Auto packing the repository for optimum performance.
warning: suboptimal pack - out of memory
fatal: Out of memory, malloc failed
error: failed to run repack

I have 2G free memory available and found the --window and
--window-memory option in git repack. However, i wonder how to compute
the max memory git-repack will use, is it "window * window-memory"?

And what is the best --window and --window-memory option for the 2G
free available memory?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-17  3:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-17  3:24 What the best git repack option to avoid out of memory (2G free memory) Ping Yin
2011-04-17  3:32 ` Ping Yin

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).