Re: Git chokes on large file
- From
- David Lang <david@lang.hm>
- Date
- May 28, 2014, 19:05 UTC
- Message-ID
- <alpine.DEB.2.02.1405281200570.32611@nftneq.ynat.uz>
- In-Reply-To
- <201405281847.s4SIlW5K027160@hobgoblin.ariadne.com>
On Wed, 28 May 2014, Dale R. Worley wrote:
Show 7 quoted lines
>> From: David Lang <david@lang.hm> > >> Git was designed to track source code, there are warts that show up >> in the implementation when you use individual files >4GB > > I'd expect that if you want to deal with files over 100k, you should > assume that it doesn't all fit in memory.
well, as others noted, the problem is actually caused by doing the diffs, and that is something that is a very common thing to do with source code.
And I would assume that files of several MB would be able to fit in memory (again, this was assumed to be for development, and compilers take a lot of ram to run, so having enough ram to hold any individual source file while the compiler is _not_ using ram doesn't seem likely to be a problem)
David Lang