By tseidel@eclipsesource.com
via eclipsesource.com
Published: Jan 31 2013 / 07:30
One option for detecting memory leaks in Java is the analysis of heap dumps. The first step is to create an HPROF heap dump from the running Java application, the second is the analysis of the dump with an appropriate analysis tool like jvisualvm or Eclipse Memory Analyzer (MAT). Wanting to do the first step for a running Apache Tomcat on Windows, I found that creating the dump is not as trivial as it seems, especially if Tomcat is run as a windows service. This post is a description of my experience with three tools available with the JDK.
Add your comment
Voters For This Link (13)
-
tseidel@eclipsesource.com -
jordi.myopenid.com -
fluffi -
fappel -
vtcoumatchenko -
hstaudacher -
adij -
abous -
mpost -
mswatcher -
irbull -
ruediger.herrmann@gmx.de -
dilip.jain