Re: git gc expanding packed data?
- From
- Hin-Tak Leung <hintak.leung@gmail.com>
- Date
- Aug 12, 2009, 14:45 UTC
- Message-ID
- <3ace41890908120745y305b2a59hd453b7e146e4a774@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0908111718490.10633@xanadu.home>
On Tue, Aug 11, 2009 at 10:33 PM, Nicolas Pitre<nico@cam.org> wrote: <snipped>
Show 10 quoted lines
> From git v1.6.3 the --aggressive switch makes for 'git repack' to be > called with --window=250 --depth=250, meaning the equivalent of: > > git repack -a -d -f --window=250 --depth=250 > > Do you still get a huge pack with the above? > >> I guess --aggressive doesn't always save space... > > If so that is (and was) a bug.
I tried 'git repack -a -d -f --window=250 --depth=250' with 1.6.2.5 (fc11.x86_64) and it took half a day, swallowed up all the memory - 3GB virtual & 1.3GB resident - and finally the kernel oom killer killed it at a last message of (601460/957910). Left no temp files. Would git 1.6.3 use less memory? :-(
Hin-Tak