[ top | up ]

Garbage Collection

Syntax

gc()
gcinfo(verbose)

Description

A call of gc causes a garbage collection to take place. This usually takes place automagically without user intervention.

The associated function gcinfo can be used to either make the collection process print memory statistics or to be silent (the initial state).