From: Dale R. Worley Date: Wed, 28 May 2014 18:18:31 GMT Subject: Re: Git chokes on large file Message-ID: <201405281818.s4SIIV5n026003@hobgoblin.ariadne.com> In-Reply-To: > From: Junio C Hamano > You need to have enough memory (virtual is fine if you have enough > time) to do fsck. Some part of index-pack could be refactored into > a common helper function that could be called from fsck, but I think > it would be a lot of work. How much memory is "enough"? And how is it that fsck is coded so that the available RAM is a limit on which repositories can be checked? Did someone forget that RAM may be considerably smaller than the amount of data a program may have to deal with? Dale