From: John P Williams <jpw@zk3.dec.com>
To: Jean-Damien DURAND <jdurand@pcfarm14.cern.ch>
Subject: Re: third and pthread
Date: 1999/02/15 [thread overview]
Message-ID: <36C8339D.6563B026@zk3.dec.com> (raw)
In-Reply-To: 79mp0n$r2j$1@sunnews.cern.ch
Hi,
Chris Forrest's answer is correct - this version of Third Degree
is showing you all the memory that was allocated but not free'd,
including that allocated by libpthread and libc.
The large amounts of memory are the thread stacks for the main
thread and for libpthread's internal utility threads, and the
numerous smaller ones are a mutex pool, I think.
In any case, none of the stack traces mention your code, so don't
worry about them. The "leaks" that you are seeing are just places
where we have found it more efficient to not free the memory.
Furthermore, the only leaks that you really want to worry about
are those that occur multiple times within one of your loops,
because freeing those avoids waste, whereas freeing just before
exit does not.
We realize that these non-leaks in system libraries can cause undue
concern and unwanted clutter, so the new version of Third Degree
does not report them by default.
John P Williams, Unix Development Environment Group, Compaq
prev parent reply other threads:[~1999-02-15 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-08 5:00 third and pthread Jean-Damien DURAND
1999-02-08 5:00 ` Chris Forrest
1999-02-15 5:00 ` John P Williams [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox