collectgarbage

collectgarbage ([LIMIT])

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