From: Jeff King Date: Fri, 07 Dec 2007 21:40:49 GMT Subject: Re: RAM consumption when working with the gcc repo Message-ID: <20071207214049.GB11613@coredump.intra.peff.net> In-Reply-To: <20071207213928.GA11613@coredump.intra.peff.net> On Fri, Dec 07, 2007 at 04:39:28PM -0500, Jeff King wrote: > Keep in mind that you are trying many different deltas, which are being > held in memory, to find the right one and generate the 330MB file. And > when you multiply that times N threads going at once, _each one_ is > using a bunch of memory. > > As Nico suggested, you could probably drop the memory usage by reducing > the size of the delta cache. Sorry, I clearly need to start reading to the ends of threads before getting involved; I think Nico has already explained this with actual numbers later on. -Peff