SV: varnish cach question

Your Friend parsimail2001 at yahoo.se
Tue Sep 20 10:37:31 CEST 2011


Great tips! I can use it in some parts of my PHP application.


Thanks for the tip,


Best regards,

Ali



________________________________


On Tue, Sep 20, 2011 at 9:09 AM, wrote:
I'll try to take a closer look into my PHP application to fix the memory leak.

One tip for PHP memory leak debugging is to to put:
echo memory_get_usage();
at the end of each iteration of your loop.  We find that objects sometimes are responsible for an increase in memory usage, and that you need to do $obj = null; unset($obj); at the end of each iteration to ensure they're properly disposed of, and thus ensure memory isn't leaked.
Good luck


Rob

(Apologies for being slightly off topic for Varnish-misc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110920/913fc580/attachment-0003.html>


More information about the varnish-misc mailing list