LuaSandbox::getPeakMemoryUsage

Fetch the peak memory usage of the Lua environment

Description

public int LuaSandbox::getPeakMemoryUsage()

Fetches the peak memory usage of the Lua environment.

Parameters

This function has no parameters.

Return Values

Returns the peak memory usage in bytes.

See Also

  • LuaSandbox::getMemoryUsage
  • LuaSandbox::getCPUUsage
  • LuaSandbox::setMemoryLimit