Register now or log in to join your professional community.
In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaimgarbage, or memory occupied by objects that are no longer in use by the program.