collectgarbage (opt [, arg])
This function is a generic interface to the garbage collector.
It performs different functions according to its first argument, opt
:
arg
(larger values mean more steps) in a non-specified way.
If you want to control the step size
you must experimentally tune the value of arg
.
Returns true if the step finished a collection cycle.
arg
/100 as the new value for the pause of
the collector (see §2.10).
arg
/100 as the new value for the step multiplier of
the collector (see §2.10).