LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

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

說明

public LuaSandbox::getMemoryUsage(): int

Fetches the current memory usage of the Lua environment.

參數

此函數沒有參數。

返回值

Returns the current memory usage in bytes.

參見