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

Reply via email to