phpday 2027 - Call for Papers

LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment

Description

public function 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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top