Garbage-collection meaning

(1) Garbage collection is a function of an operating system or programming language that reclaims memory no longer in use. For example, Java and .NET have built-in garbage collection, but C and C++ do not, and programmers have to write the code to allocate and deallocate, which is tedious and error prone. See dynamic memory allocation and memory allocation.
1
0
A service, generally run by local government, for transporting household garbage to the appropriate facility.
noun
0
0
(programming) A mechanism which ensures that resources no longer in use are made available for reuse, automatic garbage collection.

Automatic garbage collection isn't foolproof, but it eliminates large classes of memory errors.

noun
0
0
Advertisement