From: Jeff King Date: Mon, 16 Feb 2009 13:45:06 GMT Subject: Re: git-svn -- out of memory Message-ID: <20090216134506.GA20271@coredump.intra.peff.net> In-Reply-To: <7vhc2ubssd.fsf@gitster.siamese.dyndns.org> On Mon, Feb 16, 2009 at 02:05:54AM -0800, Junio C Hamano wrote: > "Alfred M\. Szmidt" writes: > > > > when doing a `git svn clone' on a subversion repository that contains > > > a large file (>1GiB), `git svn' dies with the following: > > > > > > ams@trillian:~$ git svn clone REPO -T trunk -b branches -t tags > > > [...] > > > fatal: Out of memory? mmap failed: Cannot allocate memory > > > hash-object -w --stdin-paths: command returned error: 128 > > Ding... > [...] > The hash-object error message sounds like the issue that was fixed with > 915308b (avoid 31-bit truncation in write_loose_object, 2009-01-29). Does > v1.6.2-rc1 help? Hmm. The original problem I had with the 32-bit wrapping actually caused malloc to fail, whereas this is an mmap failure. So it might not be the same thing (but certainly testing with v1.6.2-rc1 will be a good data point). -Peff