- 0 Talk
-
API gcinfo
Returns the amount of memory in use by Lua (in kilobytes).
local memoryInUse = gcinfo()
Arguments
Edit
- None
Returns
Edit
- memoryInUse
- Number - The amount of memory in use (in kilobytes).
Returns the amount of memory in use by Lua (in kilobytes).
local memoryInUse = gcinfo()