Java

  1. Home
  2. Computing & Technology
  3. Java
photo of Paul Leahy

Paul's Java Blog

By Paul Leahy, About.com Guide to Java

Java Term of the Week: Garbage Collection

Saturday October 4, 2008

Every time a Java program makes a new object it is allocated a certain amount of space in memory. When that object is no longer used by the program we want to free up the space it was using so that it can be used for something else.

"Garbage Collection" is the name that is given to the automated process of detecting objects that are no longer used by a program and freely up the memory that is associated with them. This process saves Java programmers from having to explicitly dispose of objects to free up memory.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore Java

About.com Special Features

Java

  1. Home
  2. Computing & Technology
  3. Java

©2009 About.com, a part of The New York Times Company.

All rights reserved.