API:gcinfo

__NOTOC__
gcinfo
gcinfo
Function gcinfo is deprecated; use collectgarbage("count") instead.
Returns the total memory in use by Lua (in Kbytes).
usage = gcinfo();
== Parameters ==
=== Arguments ===
:;None
=== Returns ===
:;usage 
::number - total memory in use by Lua in Kbytes.
== Notes ==
* Function gcinfo is deprecated; use collectgarbage("count") instead.
* http://www.lua.org/manual/5.1/manual.html#2.10
* http://www.lua.org/manual/5.1/manual.html#pdf-collectgarbage
== Related Functions ==
* collectgarbage