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

Re: Bug - crash on large commit

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Mar 23, 2010, 08:25 UTC
Message-ID
<40aa078e1003230125n5be565drb55fa7fdf731c72e@mail.gmail.com>
In-Reply-To
<310ba29b220a70e5624819e6ef80bff0.squirrel@www.pkts.ca>
On Tue, Mar 23, 2010 at 12:36 AM, P Fudd <fink@ch.pkts.ca> wrote:
Show 25 quoted lines
> Bug 2: git died with an out-of-memory error on the commit:
> ------
> # git commit -a
> [master (root-commit) 62b52e2] The initial checkin of the whole hard disk.
>  Committer: System Administrator <root@Mac-Pro.local>
> Your name and email address were configured automatically based
> on your username and hostname. Please check that they are accurate.
> You can suppress this message by setting them explicitly:
>
>    git config --global user.name "Your Name"
>    git config --global user.email you@example.com
>
> If the identity used for this commit is wrong, you can fix it with:
>
>    git commit --amend --author='Your Name <you@example.com>'
>
> git(4667) malloc: *** mmap(size=1964838912) failed (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> git(4667) malloc: *** mmap(size=1964838912) failed (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> fatal: Out of memory, malloc failed
> [Mac-Pro:/] shadministrator# git version
> git version 1.7.0.2

Is your git built as a 32-bit program? If so, it can't handle files larger than ~1-2 gb, which looks like it might be the case here...

-- 
Erik "kusma" Faye-Lund
Previous: P FuddNext: Jeff King
Message 2 of 3 in “Bug - crash on large commit”
  1. P FuddMar 22, 2010
  2. Erik Faye-LundMar 23, 2010
  3. Jeff KingMar 23, 2010

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.