Re: pack operation is thrashing my server
- From
Ken Pratt <ken@kenpratt.net>
- Date
- Aug 11, 2008, 19:29 UTC
- Message-ID
- <a6b6acf60808111229u72ffad66kb7a253f2fef44654@mail.gmail.com>
- In-Reply-To
- <20080811192208.GK26363@spearce.org>
> Looking at /proc/meminfo only works on Linux, and maybe some other > OSes which support a /proc like design. But even then we don't > really know how much we are competing with other active processes > and how much memory we can use.
Could we create a git config variable to specify the maximumum amoung memory to mmap? Any if that variable wasn't explicitly set, it would fall back on looking at /proc/meminfo?