Re: "malloc failed"
- From
- Pau 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)