From: Junio C Hamano Date: Wed, 18 Oct 2006 22:02:15 GMT Subject: Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle Message-ID: <7vac3tz3iw.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20061018215219.GG19194@spearce.org> Shawn Pearce writes: > However what do we do about the case where we mmap over 1 GiB worth > of pack data (because the mmap succeeds and we have at least that > much in .pack and .idx files) and then the application starts to > demand a lot of memory via malloc?... > > The other configuration option is the size of the mmap window. >... > Earlier this summer we discussed this exact issue and said this > value probably needs to be configurable if only to facilitate the > unit tests. I see. So you are allowing users to control individual window size and total mmap memory. That makes sense.