From: Jeff King <peff@peff.net>
To: Emmanuel Puerto <emmanuel.puerto@maxim-ic.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: [BUG] malloc error when using large file.
Date: Mon, 22 Jun 2009 17:15:42 -0400 [thread overview]
Message-ID: <20090622211542.GA19364@coredump.intra.peff.net> (raw)
In-Reply-To: <B03A893ADFE80748942D13AFAF2845190C2D5D388A@ITSVLEX06.it.maxim-ic.internal>
On Mon, Jun 22, 2009 at 02:54:18AM -0700, Emmanuel Puerto wrote:
> I use Git with some Virtual Machine and I have an issue with 2 of them.
> When I use some VM I have created with a "pre-allocated" disk split
> into a 2Go file. For example a "ls" give:
> [...]
> So if I just do a "git init" and after do a "git add -A" I have the
> following error:
> fatal: Out of memory, malloc failed
Many operations in git assume that a whole file can be held in memory at
once. Do you actually have 2G available on the machine? Are there any OS
limits that might be a problem?
-Peff
next prev parent reply other threads:[~2009-06-22 21:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 9:54 [BUG] malloc error when using large file Emmanuel Puerto
2009-06-22 21:15 ` Jeff King [this message]
2009-06-23 7:05 ` Emmanuel Puerto
2009-06-23 18:42 ` Jeff King
2009-06-23 21:15 ` Linus Torvalds
2009-06-24 8:35 ` Emmanuel Puerto
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=20090622211542.GA19364@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=emmanuel.puerto@maxim-ic.com \
--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).