In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim memory that was allocated by the program, but is no longer referenced; such memory is called garbage. Garbage collection was invented by American computer scientist John McCarthy around 1959 to simplify manual memory management in Lisp.
In computer science garbage collection (GC) is a form of automatic memory management The garbage collector attempts to reclaim memory that was allocated by the program but is no longer referenced; such memory is called garbage Garbage collection was invented by American computer scientist John McCarthy around 1959 to simplify manual memory management in Lisp