def • gc

garbage collector

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

The garbage collector or collector attempts to reclaim garbage, or 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