git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent van Ravesteijn <vfr@lyx.org>
To: git@vger.kernel.org
Subject: [BUG] Out of memory on git log --simplify-by-decoration --first-parent
Date: Fri, 08 Jun 2012 20:23:44 +0200	[thread overview]
Message-ID: <4FD24330.2030805@lyx.org> (raw)

git dies after calling the following command on the git repo:

$ git log f623ca1c...b9cfa4e9 --simplify-by-decoration --first-parent

This happens in simplify_merges () in revision.c. The list below shows 
the number of times the "while (list) { ..}" block is executed until git 
dies:

1475
3544
8274
19588
45689
106077
245329
565153
1269244
2614903
5871845
13138892
fatal: Out of memory, malloc failed (tried to allocate 8 bytes)

Verified with msysgit and on Ubuntu Linux.

Vincent

             reply	other threads:[~2012-06-08 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 18:23 Vincent van Ravesteijn [this message]
2012-06-08 20:09 ` [BUG] Out of memory on git log --simplify-by-decoration --first-parent Junio C Hamano
2012-06-08 20:23   ` Vincent van Ravesteijn
2012-06-08 22:01     ` Junio C Hamano

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=4FD24330.2030805@lyx.org \
    --to=vfr@lyx.org \
    --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).