ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getProcessMemoryStats

Function

getProcessMemoryStats

ServerUtilitiesIdentical to MTA:SA

Returns the memory used by the server's Lua scripts.

Syntax

table getProcessMemoryStats()

Returns

{ luaKilobytes = ... }.

Example

outputServerLog("Lua: " .. getProcessMemoryStats().luaKilobytes .. " KB")

See also