W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

libwww starting and stopping lib within an app multiple times cau ses mem leak

From: Rolf Kulemann <Rolf.Kulemann@impress.com>
Date: Fri, 24 Aug 2001 11:44:58 +0200
Message-ID: <208C46AF9D86D31188FD006008298C4101514368@nts-049ha-002.interne.impress.de>
To: "Www-Lib (E-Mail)" <www-lib@w3.org>
Hello Readers,
 
I have the need in an application to start and stop the library between http
requests.
Normally no porblem. So I initialize the library first, then i do the
request and terminate the library.
 
If I do that in a loop, the process eats more and more memory.
 
I attached my libwww wrapper code.
 
The problem is calling 
 
IEClient_init()
IEClient_processRequest()
IEClient_shutdown()
 
in a loop. There seems to be a mem leak in starting stopping the library in
one process multiple times.
 
I hope, it is a usage problem of mine.

Rolf Kulemann

- Research & Product Development -

IMPRESS SOFTWARE AG 	Fon +49 (0)511 - 610 71 - 415	
Rotenburger Straße 21	 Fax +49 (0)511 - 610 71 - 299	
30659 Hannover - Germany	  	
 <http://www.impress.com/> http://www.impress.com
<mailto:Rolf.Kulemann@impress.com> Mailto:Rolf.Kulemann@impress.com	

eCollaboration > today

 


Received on Friday, 24 August 2001 05:45:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT