Quick & Dirty Caching Fix for Java Memory Leaks

“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 shows you how Soft references, like weak references, can help applications prevent object loitering by enlisting the aid of the garbage collector in making cache eviction decisions.”

11 Comments

  1. 2006-01-27 3:10 am
    • 2006-01-27 5:34 am
      • 2006-01-27 8:28 am
        • 2006-01-27 10:30 am
          • 2006-01-27 11:31 am
          • 2006-01-27 11:51 am
          • 2006-01-27 7:21 pm
  2. 2006-01-27 4:34 am
    • 2006-01-27 10:37 am
  3. 2006-01-27 11:03 am
    • 2006-01-27 11:21 am