[JDEV] Advice on how to investigate a memory leak

Rodolphe Duge de Bernonville rod at idealx.com
Fri Aug 31 07:23:48 CDT 2001


Stefan Praszalowicz a écrit :
> 
> Hi all !
> 
> I have a jabber server with custom modules of mine (a mysql layer and a http
> 'gateway').
> I use the current stable release, jabberd 1.4.1
> 
> It seems I have a memory leak problem...
> 

well i dont know how do you use your http gateway ...
but if it is used for example for client authentification (ie you make
a http request every time a client connect) and you use the mio_connect
function.

There is a memory leak due to bad initialization of pth_create function
that has been fixed in the CVS version.

Other advice : 
be careful if you use function like xmlnode_insert_tag_node
(this makes copy of xmlnode),



More information about the JDev mailing list