PHP 8.4.2 Released!

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

add a note

User Contributed Notes

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