httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Kucypera <jar...@netstellar.com>
Subject Re: Memory leak?
Date Tue, 12 Feb 2008 11:41:10 GMT
 > Could someone help me how to find the possibile memory leak?

Divide and conquer: try to disable particular parts of your code and 
watch, when it stops eating memory.
For every alloacation find matching deallocation and check if there is 
possibility the resources are not released.
AFAIR APR memory pools,when compiled appropriately, has some support for 
allocation debuging,
see docs and source.
Use the force, when everything else fails ;)

J.K.


Mime
View raw message