memory_get_usageReturns the amount of memory allocated to PHPDescriptionintmemory_get_usage
Returns the amount of memory, in bytes, that's currently being
allocated to your PHP script.
memory_get_usage will only be defined if your PHP
is compiled with the --enable-memory-limit
configuration option.
A memory_get_usage example
]]>
See also
memory-limit.