List of memory leaks articles
2015-01-17“Solving OutOfMemoryError” series from Nikita Salnikov-Tarnovsky and Vladimir Šor:
- Solving OutOfMemoryError (part 1) – story of a developer
- Solving OutOfMemoryError (part 2) – why didn’t operations solve it?
- Solving OutOfMemoryError (part 3) – where do you start?
- Solving OutOfMemoryError (part 4) – memory profilers
- Solving OutOfMemoryError (part 5) – JDK Tools
- Solving OutOfMemoryError (part 6) – Dump is not a waste
“Classloader leaks” series from Mattias Jiderhamn:
- Classloader leaks I – How to find classloader leaks with Eclipse Memory Analyser (MAT)
- Classloader leaks II – Find and work around unwanted references
- Classloader leaks III – “Die Thread, die!”
- Classloader leaks IV – ThreadLocal dangers and why ThreadGlobal may have been a more appropriate name
- Classloader leaks V – Common mistakes and Known offenders
- Classloader leaks VI – “This means war!” (leak prevention library)
Object, class and classloader relationships are illustrated by this graph from What is a PermGen leak? article.
Tomcat specific articles:
Other articles:
- What is a memory leak?
- What is a PermGen leak?
- The Guide to Solving Permgen Leaks
- Classloader leaks: the dreaded “java.lang.OutOfMemoryError: PermGen space” exception
And the summary:
The memory leak is caused by objects that live longer than expected.