From: Johannes Schindelin Date: Tue, 27 Jan 2009 18:02:42 GMT Subject: Re: "malloc failed" Message-ID: In-Reply-To: <878wow7pth.fsf@mcbain.luannocracy.com> Hi, On Tue, 27 Jan 2009, David Abrahams wrote: > I've been abusing Git for a purpose it wasn't intended to serve: > archiving a large number of files with many duplicates and > near-duplicates. Hah! My first UGFWIINI contender! Unfortunately, I listed that purpose explicitely already... > Every once in a while, when trying to do something really big, it tells > me "malloc failed" and bails out (I think it's during "git add" but > because of the way I issued the commands I can't tell: it could have > been a commit or a gc). This is on a 64-bit linux machine with 8G of > ram and plenty of swap space, so I'm surprised. Yes, I am surprised, too. I would expect that some kind of arbitrary user-specifiable limit hit you. Haven't had time to look at the code, though. Ciao, Dscho