From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
Subject: Re: Question on "Third Degree"
Date: 1999/01/05 [thread overview]
Message-ID: <oeezp7xzkzg.fsf@alpha.hut.fi> (raw)
In-Reply-To: 76tf7p$bin$1@nnrp1.dejanews.com
core__dump@my-dejanews.com writes:
> [snip]
> Searching for new leaks in heap after program exit
>
> 48 bytes in 1 leak (including 1 super leak) created at:
> malloc libc.so
> _findiop libc.so
> fopen libc.so
> main testprog
> __start testprog
> [snip]
> Is there really a memory leak within "fopen"?
It's perfectly possible. But:
(1) because it's within libc you cannot directly do anything about it
(indirectly you can complain to Digital UNIX product support)
(2) Whether it's a "real" leak is debatable. Do 1000 fopens and if
you leak 48000 bytes, then you should get worried and complain really
loudly. But if the leak stays small regardless of the number of
fopens, don't fret over it, it's most probably just some small working
area that libc stdio allocates.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen
prev parent reply other threads:[~1999-01-05 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-05 5:00 Question on "Third Degree" core__dump
1999-01-05 5:00 ` Jarkko Hietaniemi [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