mapping(string:int|float) Debug.gc_status()
Get statistics from the garbage collector.
A mapping with the following content will be returned:
Number of objects.
Number of memory allocations.
Threshold where the garbage-collector starts.
Number of allocated objects.
Number of freed objects.
Time when the garbage-collector last ran.
Heuristic for the amount of garbage in the system.
gc()