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