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

Re: "malloc failed"

From
PQPau Garcia i Quiles <pgquiles@elpauer.org>
Date
Jan 28, 2009, 22:16 UTC
Message-ID
<3af572ac0901281416x5adef0eak89bd4b40fda52c2b@mail.gmail.com>
In-Reply-To
<20090128050225.GA18546@coredump.intra.peff.net>
On Wed, Jan 28, 2009 at 6:02 AM, Jeff King <peff@peff.net> wrote:
> How big is the repository? How big are the biggest files? I have a
> 3.5G repo with files ranging from a few bytes to about 180M. I've never
> run into malloc problems or gone into swap on my measly 1G box.
> How does your dataset compare?
I also have malloc problems but only on Windows, on Linux it works fine.

My case: I have a 500 MB repository with a 1GB working tree, with binary files ranging from 100KB to 50MB and a few thousand source files.

I have two branches ('master' and 'cmake') and the latter has suffered a huge hierarchy reorganization.

When I merge 'master' in 'cmake', if I use the 'subtree' strategy, it works fine. If I use any other strategy, after a couple of minutes I receive a "malloc failed" and the tree is all messed up. As I said, on Linux it works fine, so maybe it's a Windows-specific problem.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
Previous: Jeff KingNext: Jeff King
Message 14 of 15 in “"malloc failed"”
  1. David AbrahamsJan 27, 2009
  2. Shawn O. PearceJan 27, 2009
  3. David AbrahamsJan 27, 2009
  4. Johannes SchindelinJan 27, 2009
  5. Jeff KingJan 28, 2009
  6. David AbrahamsJan 28, 2009
  7. David AbrahamsJan 29, 2009
  8. Jeff KingJan 29, 2009
  9. Jeff KingJan 29, 2009
  10. Junio C HamanoJan 29, 2009
  11. David AbrahamsJan 29, 2009
  12. Andreas EricssonJan 29, 2009
  13. Jeff KingJan 30, 2009
  14. Pau Garcia i QuilesJan 28, 2009
  15. Jeff KingJan 29, 2009

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.