Java memory leaks

Posted on April 10, 2009. Filed under: Java, Programming |

Garbage collection in the Java™ programming language simplifies memory management and eliminates typical memory problems. However, contrary to popular belief, garbage collection can not take care of all memory problems. One such problem is of Java memory leaks, which are harder to detect because they usually result from design and implementation errors (for example, a reference to an object kept beyond its useful life). This article demystifies Java memory leaks, provides an overview of the Java leak detection technology in IBM® Rational® Application Developer (IRAD), and shares the IBM JVM L3 support group’s experiences using the technology. It proposes exploiting this technology in the Development and Testing phases, and suggests how to design test cases for detecting Java memory leaks.

http://www.ibm.com/developerworks/rational/library/05/0816_GuptaPalanki/

Java memory leaks — Catch me if you can
Detecting Java leaks using IBM Rational Application Developer 6.0

http://blog.emptyway.com/2007/04/02/finding-memory-leaks-in-java-apps/

Finding Memory Leaks in Java Apps
Here is a small HOWTO on how to find memory leaks with Java SE.
I’ve written it while trying to find memory leaks in our testing tools: JTHarness and ME Framework, and then wanted to share the HOWTO with the world, but I didn’t have my blog at that time, so I posted this info as a comment to a relevant entry in the excellent Adam Bien’s blog.

http://www.ibm.com/developerworks/library/j-leaks/index.html

Handling memory leaks in Java programs
Find out when memory leaks are a concern and how to prevent them

http://olex.openlogic.com/wazi/2009/how-to-fix-memory-leaks-in-java/

How to Fix Memory Leaks in Java

Make a Comment

Leave a comment

Liked it here?
Why not try sites on the blogroll...