NYCPHP Meetup

NYPHP.org

[nycphp-talk] Memory usage at runtime

Scott Mattocks scott at crisscott.com
Fri May 19 13:31:52 EDT 2006


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

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



More information about the talk mailing list