Re: [PATCH] RFC: git lazy clone proof-of-concept
- From
Sean <seanlkml@sympatico.ca>
- Date
- Feb 10, 2008, 04:59 UTC
- Message-ID
- <BAYC1-PASMTP10AF630E8A5B3D6C255317AE290@CEZ.ICE>
- In-Reply-To
- <alpine.LFD.1.00.0802092200350.2732@xanadu.home>
On Sat, 09 Feb 2008 22:10:06 -0500 (EST) Nicolas Pitre <nico@cam.org> wrote:
Show 19 quoted lines
> On Sat, 9 Feb 2008, Jan Holesovsky wrote: > > > On Friday 08 February 2008 20:00, Jakub Narebski wrote: > > > > > Both Mozilla import, and GCC import were packed below 0.5 GB. Warning: > > > you would need machine with large amount of memory to repack it > > > tightly in sensible time! > > > > As I answered elsewhere, unfortunately it goes out of memory even on 8G > > machine (x86-64), so... But still trying. > > Try setting the following config variables as follows: > > git config pack.deltaCacheLimit 1 > git config pack.deltaCacheSize 1 > git config pack.windowMemory 1g > > That should help keeping memory usage somewhat bounded. >
Hi Nicolas,
Tried that earlier today and got a 1.6G pack (on a 2G machine). There are some big objects in that repo.. over 100 are 30 to 62M in size, 400 more over 10M, and ~40,000 over 100K. Would you expect a larger memory window (on a better machine) to help shrink the repo down any more?
Sean