The PHP Online Conference 2021

LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getMemoryUsageFetch the current memory usage of the Lua environment

Description

public LuaSandbox::getMemoryUsage ( void ) : int

Fetches the current memory usage of the Lua environment.

Parameters

This function has no parameters.

Return Values

Returns the current memory usage in bytes.

See Also

add a note add a note

User Contributed Notes

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