NYCPHP Meetup

NYPHP.org

[nycphp-talk] Memory usage at runtime

Scott Mattocks scott at crisscott.com
Fri May 19 13:32:40 EDT 2006


Scott Mattocks wrote:
> Nunez, Eddy wrote:
>>           This is something I've been looking around for but bit hard
>> pressed to find something on the net.  Anyone know a function call or
>> method to determine how much memory in bytes your script variables(any
>> type) are currently using?
> 
> memory_get_usage()
> http://us2.php.net/manual/en/function.memory-get-usage.php
> 

Bah. Sorry. I read too quickly. I missed "variables" in there.


-- 
Scott Mattocks
Author of: Pro PHP-GTK
http://www.crisscott.com



More information about the talk mailing list