This is the mail archive of the
mailing list for the GCC project.
Re: Git and GCC
On Thu, 6 Dec 2007, Jon Smirl wrote:
> I have a 4.8GB git process with 4GB of physical memory. Everything
> started slowing down a lot when the process got that big. Does git
> really need 4.8GB to repack? I could only keep 3.4GB resident. Luckily
> this happen at 95% completion. With 8GB of memory you should be able
> to do this repack in under 20 minutes.
Probably you have too many cached delta results. By default, every
delta smaller than 1000 bytes is kept in memory until the write phase.
Try using pack.deltacachesize = 256M or lower, or try disabling this
caching entirely with pack.deltacachelimit = 0.