Re: git doesn't like big files when pushing
- From
Simon Richter <simon.richter@hogyros.de>
- Date
- Mar 2, 2006, 12:43 UTC
- Message-ID
- <4406E85A.9030908@hogyros.de>
- In-Reply-To
- <Pine.LNX.4.64.0603011448230.22647@g5.osdl.org>
Hi,
Linus Torvalds wrote:
Show 5 quoted lines
> But maybe it's really the case that you can't fit those 8 objects in > memory. One option (which might also solve some of the performance issues) > is to make the window be based on object _size_ rather than just be a > fixed number (ie with an 80MB object, you'd only try a couple of objects > around it, not the full window).
Well, doesn't the pack process involve keeping objects of similar size in memory next to each other? My suspicion is that the system is running out of virtual address space because almost every malloc() will attempt to get an entirely new block because the one that was just freed is a few bytes too small.
Simon