ddd
[Top][All Lists]
Advanced

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

Re: Truncation proposal


From: Arnaud Desitter
Subject: Re: Truncation proposal
Date: Wed, 24 Jan 2001 10:48:43 +0000 ()

Hi,

> PS. Another question: One of my applications is 60 MB with debug information.
>     Gdb needs some time to read in the symbols table etc. But with DDD the
>     loading takes three times as long (at least). Why? What kind of initiali-
>     zation takes place within DDD? I just hate waiting 3 Minutes (on a Sparc
>     Ultra 2 with 1G of RAM) for DDD to fire up ... ;-)

Last year, I spent a bit of time running ddd under purify and I fixed
quite a few memory leaks. These are included in the upcoming 3.3 version.
It turns out that there is a nasty leak in the code that parses the
messages coming from the underlying debugger. So far, it prooved quite
elusive to fix and anybody who knows about yacc/bison may want to have
a go.
That may be the reason why ddd gets slow under heavy loads. A temporary
"fix" could be to link with a garbage collector to see if that helps. 
(c.f. http://www.fortran-2000.com/ArnaudRecipes/SunMemoryDB.html#GC)

Or I get it completely wrong...

Regards,
Arnaud



reply via email to

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