monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: mtn cvs_import's "almost certainly a bug"


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: mtn cvs_import's "almost certainly a bug"
Date: Fri, 4 Aug 2006 23:14:20 -0700
User-agent: Mutt/1.5.12-2006-07-14

On Tue, Aug 01, 2006 at 02:39:35PM +0200, Lapo Luchini wrote:
> Lapo Luchini wrote:
> > I was trying to cvs_import the while FreeBSD /src repository and I got a
> > std::bad_alloc.
> > I guess the problem is that some data is kept in RAM and swap file finished?
> >   
> Yes, I guess that's so, because after a few minutes I got 311M of RES in
> top, when the CLI showed this:
> 
> % time mtn -d org.freebsd.mtn -b org.freebsd.src cvs_import src/
> mtn: branches | versions
> mtn:       80 |    84863
> contrib/libstdc++/config/Attic/x86-interix.ml,v    
> 
> But it is normal "bad_alloc"?
> Maybe a "out of memory error", or is it a "bad_alloc" exactly that?

bad_alloc is indeed how C++ says "out of memory" (and in principle
anything else that can go wrong with a request for more heap, but
there aren't that many other things that can go wrong).

Eric's diagnosis of this sounds very plausible to me -- since I've
just applied his fixes to mainline, you may want to try this
cvs_import again with mainline and see if it does any better.

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould




reply via email to

[Prev in Thread] Current Thread [Next in Thread]