LuaSandbox::getMemoryUsage
PHP function
Edit on GitHub ✎
(PECL luasandbox >= 1.0.0)
Fetch the current memory usage of the Lua environment
Description
LuaSandbox::getMemoryUsage(): int
Fetches the current memory usage of the Lua environment.
Parameters Parameters
Return Values
Returns the current memory usage in bytes.
See Also
LuaSandbox::getPeakMemoryUsageLuaSandbox::getCPUUsageLuaSandbox::setMemoryLimit