From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6134,b6eb9e2c8cc160c6 X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,b6eb9e2c8cc160c6 X-Google-Attributes: gid1164f8,public From: Jarkko Hietaniemi Subject: Re: Question on "Third Degree" Date: 1999/01/05 Message-ID: #1/1 X-Deja-AN: 429075545 References: <76tf7p$bin$1@nnrp1.dejanews.com> X-Complaints-To: usenet@nntp.hut.fi X-Trace: nntp.hut.fi 915557384 30864 130.233.224.50 (5 Jan 1999 17:29:44 GMT) Organization: IKI ry, Finland NNTP-Posting-Date: 5 Jan 1999 17:29:44 GMT Newsgroups: comp.sys.dec,comp.unix.osf.*,comp.org.decus 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