Detecting Memory Leaks

Hi All,

Would like to detect memory leaks, but I can’t find a function to tell me how much heap mem is available (I normally cycle a function and check the heap usage).

I tried adl_memGetInfo, but it only gives me the total amount of heap mem available.

Can anyone point me out?

Kind Regards,

Hi !

There is a working solution given there : … php?t=1220
(at the end of the topic)