SV: varnish cach question
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,
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:
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.
(Apologies for being slightly off topic for Varnish-misc)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc