git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sham Rao <sham@styk.net>
To: git@vger.kernel.org
Subject: Re: Out of memory, malloc failed
Date: Sat, 9 May 2009 00:41:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090509T003749-604@post.gmane.org> (raw)
In-Reply-To: 4A049715.10407@styk.net

sham <sham <at> styk.net> writes:

> 
> Can anyone shed some light on this?  What can I do to get past this...
> 
> #0  die (err=0x4bfb09 "Out of memory, malloc failed") at usage.c:71
> #1  0x000000000049ac8c in xmalloc (size=555680492) at wrapper.c:29
> #2  0x000000000048e59f in unpack_compressed_entry (p=0x71d690,
> ...Snip...
> #8  0x000000000046b42a in checkout_entry (ce=0x7ffff4d73080,
> state=0x7fffffffdb10, topath=<value optimized out>) at entry.c:233
> #9  0x000000000041488d in cmd_checkout (argc=<value optimized out>,
> argv=<value optimized out>, prefix=0x0) at builtin-checkout.c:141
> #10 0x0000000000404843 in handle_internal_command (argc=2,
> argv=0x7fffffffdde0) at git.c:241
> #11 0x0000000000404a5c in main (argc=2, argv=0x7fffffffdde0) at git.c:481
> 
> Thanks,
> Sham
> 


I was able to resolve this issue by changing limits via the ulimit command. 
Upon increasing the values using ulimit -m WWWW and ulimit -v XXXX, the git
checkout worked (although slow).

-Sham

      reply	other threads:[~2009-05-09  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 20:33 Out of memory, malloc failed sham
2009-05-09  0:41 ` Sham Rao [this message]

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=loom.20090509T003749-604@post.gmane.org \
    --to=sham@styk.net \
    --cc=git@vger.kernel.org \
    /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).