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

2008-03-07 Thread Richard Lynch
On Wed, March 5, 2008 9:57 pm, Zareef Ahmed wrote: >I am looking into the concepts behind memory management in PHP. > Which > kind of approach will be best to measure memory leakage or usage in a > PHP > script? > > I can measure my apache process but is there any way by which I can > know > wh

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

2008-03-05 Thread Frank Arensmeier
6 mar 2008 kl. 06.10 skrev Zareef Ahmed: HI Chirs, On 3/6/08, Chris <[EMAIL PROTECTED]> 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,

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

2008-03-05 Thread Zareef Ahmed
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. Well, trying to do something so I can call my memory usage function

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

2008-03-05 Thread Zareef Ahmed
HI Chirs, On 3/6/08, Chris <[EMAIL PROTECTED]> 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 > > poi

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

2008-03-05 Thread Chris
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

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

2008-03-05 Thread Chris
Zareef Ahmed wrote: Hi All, I am looking into the concepts behind memory management in PHP. Which kind of approach will be best to measure memory leakage or usage in a PHP script? I can measure my apache process but is there any way by which I can know which exact part of script is consuming

[PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
Hi All, I am looking into the concepts behind memory management in PHP. Which kind of approach will be best to measure memory leakage or usage in a PHP script? I can measure my apache process but is there any way by which I can know which exact part of script is consuming how much memory? --