Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 18, 2006, 22:02 UTC
- Message-ID
- <7vac3tz3iw.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061018215219.GG19194@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
Show 10 quoted lines
> 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.