Re: How to measure memory leakage/usage in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI Chirs,

On 3/6/08, Chris <dmagick@xxxxxxxxx> wrote:
>
> Zareef Ahmed wrote:
> > Hi Chris,
> >
> >   Thanks for such quick response.
> >
> > quite good suggestion, but my application is using a framework and lots
> > of includes and even autoloads of classes are being done, so using break
> > point approach is not possible for me.
>
>
> Why not? It just means the files are spread out in different folders
> instead of one place.
>
> If you're using a framework, set up a new very simple environment and
> see how much memory that uses by itself (see
> http://www.php.net/memory_get_peak_usage).
>
> That'll at least tell you whether it's the framework using all the
> memory or your specific changes to it.


 I have done that check and I am sure that only my changes are taking time,
but they are large in numbers, so I was looking something to pin point the
exact change which is consuming more memory. Thanks for your suggestions, I
will definitely use them.





--
>
> Postgresql & php tutorials
> http://www.designmagick.com/
>



-- 
Zareef Ahmed
http://www.zareef.net
A PHP Developer in India

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux