Garry's Mod Wiki

Garry's Mod Wiki

  number gcinfo()

Description

We advise against using this. It may be changed or removed in a future update. 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

1 number
The current floored dynamic memory usage of Lua, in kilobytes.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...