API gcinfo

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

Returns

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