Plugging Java Memory Leaks with Weak References

While programs in the Java language are theoretically immune from memory leaks, there are situations in which objects are not garbage collected even though they are no longer part of the program’s logical state. This article explores a common cause of unintentional object retention and shows how to plug the leak with weak references.

5 Comments

  1. 2005-11-23 4:24 am
  2. 2005-11-23 1:38 pm
    • 2005-11-23 2:31 pm
  3. 2005-11-23 1:50 pm
  4. 2005-11-23 1:51 pm