garbage collector

A garbage collector (also known as GC) is a form of automatic memory management.

The garbage collector attempts to reclaim garbage, i.e. memory used by objects that will never again be accessed or mutated by the application.

Gambas does not use any garbage collector, but frees objects by using reference counting.

See also