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

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

 



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 

http://es2.php.net/manual/en/function.memory-get-usage.php

that I'm using on my script, and the second seems to be just like
memory_get_peak_usage:

http://es2.php.net/manual/en/function.memory-get-peak-usage.php

That has no sense for this test.

Thanks anyway.

On sáb, 2007-01-27 at 20:46 +0000, Colin Guthrie wrote:
> 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. I can't remember for sure
> tho', so check the docs/API before spending too much time with it :)
> 
> HTH
> 
> Col.
> 

Attachment: signature.asc
Description: This is a digitally signed message part


[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