FANDOM



collectgarbage([<iLimit>])
Description (from LUA 4 Manual: 6.1 Basic Functions)
"Sets the garbage-collection threshold for the given limit (in Kbytes), and checks it against the byte counter. If the new threshold is smaller than the byte counter, then Lua immediately runs the garbage collector (see Section 5.6). If <iLimit> is absent, it defaults to zero (thus forcing a garbage-collection cycle)."
Example


Arguments
<iLimit>: the limit (in Kbytes). (optional)
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.