Memory Leaks in Java
April 2, 2010 Leave a comment
I came across three good articles on memory leaks in Java and how to go about tracking them:
One of the most common problems in building enterprise web applications are leaks. A leak is consumption of a resource by a program where the program is unable to release the resource. Leaks come in various types, such as
- Memory leaks
- Thread and ThreadLocal leaks
- ClassLoader leaks
- System resource leaks
- Connection leaks
A day in the life of a memory leak hunter
… but my overall happiness level suffered a noticeable drop when I got a mail in my Inbox from a coworker saying that the logs of a particular service in our dev cluster are littered with OutOfMemoryError-s.
Taxonomy of class loader problems encountered when using Jakarta Commons Logging
This document attempts to systematically categorize the types of problems encountered when using Jakarta Commons Logging, hereafter abbreviated as JCL.