Re: Memory profiling tools

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

 



Larry Garfield wrote:
> Hi all.  I have a rather large application on which I need to do some memory 
> performance profiling and optimization.  Basically it's eating up more RAM 
> than it should and I'm not sure why.  I have some suspects, but nothing 
> concrete.
> 
> Are there any (open source) tools that people can recommend for such a task?  
> Or any programming tricks one can recommend to identify the size of a given 
> data structure?  Windows or Linux are both fine; I have access to both.

You could use ticks:

http://www.davedevelopment.co.uk/2008/05/12/log-memory-usage-using-declare-and-ticks-in-php/

though see my comments (#7) about why you don't want to store the info
in php itself :P

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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