collectgarbage

collectgarbage([LIMIT: userdata | stringa | numero])

Sets garbage-collection threshold (Kbytes).Default is zero.A garbage collection cycle may be run if the new threshold is smaller.