git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Faye-Lund <kusmabite@googlemail.com>
To: P Fudd <fink@ch.pkts.ca>
Cc: git@vger.kernel.org
Subject: Re: Bug - crash on large commit
Date: Tue, 23 Mar 2010 09:25:27 +0100	[thread overview]
Message-ID: <40aa078e1003230125n5be565drb55fa7fdf731c72e@mail.gmail.com> (raw)
In-Reply-To: <310ba29b220a70e5624819e6ef80bff0.squirrel@www.pkts.ca>

On Tue, Mar 23, 2010 at 12:36 AM, P Fudd <fink@ch.pkts.ca> wrote:
> 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

  reply	other threads:[~2010-03-23  8:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 23:36 Bug - crash on large commit P Fudd
2010-03-23  8:25 ` Erik Faye-Lund [this message]
2010-03-23  8:30 ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40aa078e1003230125n5be565drb55fa7fdf731c72e@mail.gmail.com \
    --to=kusmabite@googlemail.com \
    --cc=fink@ch.pkts.ca \
    --cc=git@vger.kernel.org \
    --cc=kusmabite@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).