PHP 8.4.6 Released!

LuaSandbox::getPeakMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getPeakMemoryUsageFetch the peak memory usage of the Lua environment

Description

public LuaSandbox::getPeakMemoryUsage(): int

Fetches the peak memory usage of the Lua environment.

Parameters

This function has no parameters.

Return Values

Returns the peak memory usage in bytes.

See Also

User Contributed Notes

There are no user contributed notes for this page.
To Top