From: alan Date: Fri, 05 Jan 2007 22:18:16 GMT Subject: Re: git-svnimport failed and now git-repack hates me Message-ID: In-Reply-To: On Fri, 5 Jan 2007, Linus Torvalds wrote: > > > On Fri, 5 Jan 2007, Junio C Hamano wrote: >> >> Somehow we forgot to turn save_commit_buffer off while walking >> the reachable objects. Releasing the memory for commit object >> data that we do not use matters for large projects (for example, >> about 90MB is saved while traversing linux-2.6 history). > > Heh. Maybe we should just make the default the other way? It's probably > pretty easy to find any users that suddenly start segfaulting ;) I am trying to import a subversion repository and have yet to be able to suck down the whole thing without segfaulting. It is a large repository. Works fine until about the last 10% and then runs out of memory. open3: fork failed: Cannot allocate memory at /usr/bin/git-svn line 2711 512 at /usr/bin/git-svn line 446 main::fetch_lib() called at /usr/bin/git-svn line 314 main::fetch() called at /usr/bin/git-svn line 173 I need to try the "partial download" script and see if that helps. -- "Invoking the supernatural can explain anything, and hence explains nothing." - University of Utah bioengineering professor Gregory Clark