Re: Reducing the memory footprint
- From
Brian Downing <bdowning@lavos.net>
- Date
- Nov 10, 2007, 00:53 UTC
- Message-ID
- <20071110005327.GH6212@lavos.net>
- In-Reply-To
- <9e4733910711091538h260fbcd2s5783f01e7db4b19a@mail.gmail.com>
On Fri, Nov 09, 2007 at 06:38:00PM -0500, Jon Smirl wrote:
Show 10 quoted lines
> I'm using this config file: > > [pack] > windowMemory = 1M > deltaCacheSize = 1M > > And I have NO_MMAP compiled in. > > git is still using over 200MB of memory or address space, my process > gets killed either way.
I'm assuming it's dying on repacking since you included the pack parameters.
How big is your biggest object? Even with pack.windowMemory, it still keeps the last object around to try and delta against (in other words, the window only shrinks to size 1), which means you have to have room for it and its delta index.
-bcd