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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the current memory usage in bytes.

參見