WoW:API gcinfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Reformatted according to the current API boilerplate.)
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowlua}}
 


Returns the amount of memory in use by Lua (in kilobytes).
Returns the amount of memory in use by Lua (in kilobytes).
Line 11: Line 10:


== Returns ==
== Returns ==
:;memoryInUse : Number - The amount of memory in use (in kilobytes).
:;memoryInUse
:: Number - The amount of memory in use (in kilobytes).

Revision as of 07:29, 19 September 2013

WoW Lua


Returns the amount of memory in use by Lua (in kilobytes).

local memoryInUse = gcinfo()


Arguments

None


Returns

memoryInUse
Number - The amount of memory in use (in kilobytes).