WoW:API gcinfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Reformatted according to the current API boilerplate.)
m (Move page script moved page API gcinfo to API gcinfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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).

Latest revision as of 04:45, 15 August 2023

WoW Lua


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).