LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

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

Description

public LuaSandbox::getMemoryUsage(): 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