Re: Memory leak in LWP is not cured with perl's malloc()

Ilya Ketris (ilya@gde.to)
Fri, 23 Jul 1999 13:31:05 +0300


On Wed, Jul 21, 1999 at 01:41:12PM +0900, Marc Langheinrich wrote:
> On Wed, Jul 21, 1999 at 02:41:24AM +0300, Ilya Ketris wrote:
> > 	This program grows in size.  If you substitute
> > 	'http://www' with 'www', making it invalid URI, or with
> > 	'http://nosuchhost', making it not to resolve, it does
> > 	NOT grow.  'ftp://ftphost' grows as well.
> The above program works fine (i.e. without leaks) for me (constant use of
> about 2.0% after 2:00 minutes):

	I am not saying it would leak for everybody.  What I am
	saying is that it leaks for me, and it did so on RedHat
	5.1, RedHat 5.2, RedHat 6.0, and SuSE something, all
	pretty standard.  If running on BSD or using perl5.00502
	prevents that it doesn't mean it's not there.  Several
	people reported the leak, they can't _all_ be wrong.
 
	As I haven't heard of serious memory problems with
	neither Linux nor perl by themselves, I conclude that
	it's LWP at fault here.


-- 
Ilya Ketris <ilya@gde.to>