git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: fatal: Out of memory, malloc failed

From
ALAlan Larkin <nobrow@eircom.net>
Date
Apr 16, 2007, 07:46 UTC
Message-ID
<462329D8.4020302@eircom.net>
In-Reply-To
<20070415214050.GA4417@steel.home>
Alex Riesen wrote:
Show 24 quoted lines
> Alan Larkin, Sun, Apr 15, 2007 21:06:53 +0200:
>>>> Its not a huge push Im trying to do here (<about 150Mb) but
>>>> always malloc fails!
>>> Any huge objects?
>>>
>> There were a couple of big files. I removed a 72Mb one (making 47Mb
>> the biggest one left in the project) and made the push and it
>> worked. I later pulled the project down to a different machine,
>> added the 72Mb file back in, and pushed to the server and it worked.
>> So apparently it's a platform specific problem. If anybody's
>> particularly interested I could replicate it under gdb and pass on
>> any info, but if not I wont ... job's done, Im happy.
> 
> 72Mb is nothing. Is it Windows/cygwin, by any chance? (I see the
> problem there sometimes. Tried debugging it, got into some ugly
> cygwin-windows interactions, threw up, did the same you did and tried
> to forget it all).
> 
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
Thats what I thought, but malloc continued to fail until the 72Mb file was removed.

No, my server is running Debian. I had the push problem when logged in on that. It worked when I pushed it from a Gentoo box.

Previous: Alex RiesenNext: Julian Phillips
Message 5 of 11 in “fatal: Out of memory, malloc failed”
  1. Alan LarkinApr 13, 2007
  2. Linus TorvaldsApr 13, 2007
  3. Alan LarkinApr 15, 2007
  4. Alex RiesenApr 15, 2007
  5. Alan LarkinApr 16, 2007
  6. Julian PhillipsApr 16, 2007
  7. Alan LarkinApr 16, 2007
  8. Alex RiesenApr 16, 2007
  9. Alex RiesenApr 16, 2007
  10. Alan LarkinApr 16, 2007
  11. Alex RiesenApr 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.