LuaSandbox::getMemoryUsage

Fetch the current memory usage of the Lua environment

Description

public int LuaSandbox::getMemoryUsage()

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

  • LuaSandbox::getPeakMemoryUsage
  • LuaSandbox::getCPUUsage
  • LuaSandbox::setMemoryLimit