Re: [BUG] malloc error when using large file.
- From
Jeff King <peff@peff.net>
- Date
- Jun 23, 2009, 18:42 UTC
- Message-ID
- <20090623184208.GA8165@coredump.intra.peff.net>
- In-Reply-To
- <B03A893ADFE80748942D13AFAF2845190C2D5D3BDC@ITSVLEX06.it.maxim-ic.internal>
On Tue, Jun 23, 2009 at 12:05:11AM -0700, Emmanuel Puerto wrote:
> Yes I have more that 2 Go available when a do it, and after this > allocation error if I try to do a 'git add' with a 9Go file, I did not > have any issue.
It may be that doing a whole bunch of files in one process is leading to some memory fragmentation that doesn't let malloc get a contiguous 2G slice. I'm not sure what else to suggest trying, except perhaps to search the list archives for past discussions on memory fragmentation.
Maybe somebody else has suggestions.
-Peff