[PHP] Re: My objects eats too much (and weird!) memory

2007-01-27 Thread Colin Guthrie
Francisco M. Marzoa Alonso wrote: AFAIK there's no other way to measure memory usage on PHP than this, if you know something better it could be more constructive if you show it. The last time I looked I think the xdebug module allowed you to get the memory consumption of a given object in PHP.

Re: [PHP] Re: My objects eats too much (and weird!) memory

2007-01-27 Thread Francisco M. Marzoa Alonso
Hello, I took a look to www.xdebug.org and the only memory related functions was those I found here: http://www.xdebug.org/docs-functions.php#tracing int xdebug_memory_usage() int xdebug_peak_memory_usage() The first seems to be the same that memory_get_usage