garbage collection

A technique that automatically finds and reclaims memory or data a program no longer uses.

1 articleLast mentioned

Garbage collection is a memory management technique that automatically identifies and frees memory objects a program no longer references. It was devised by John McCarthy for Lisp in 1959 and is built into the runtimes of many programming languages, including Java, C#, Python, Go, and JavaScript. Because developers do not have to free memory by hand, it reduces errors such as memory leaks and dangling pointers.

More broadly, the term also describes the work a storage system does to discard data that is no longer needed. Git, for example, provides the git gc command, which removes unreachable objects and packs loose objects into packfiles.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Pando: The Git Backend OpenAI Built for a 2,442% Surge in CommitsAI News ·

    Use asynchronous tiered compaction and keep every tier instead of destructive garbage collection.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.