gcinfo

From Garry's Mod
Jump to: navigation, search
 gcinfo( )

Description

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

This function was deprecated in Lua 5.1 and is removed in Lua 5.2. Use collectgarbage( "count" ) instead.
Returns the current floored dynamic memory usage of Lua in kilobytes.

Returns

number

The current floored dynamic memory usage of Lua, in kilobytes.
Personal tools
Navigation