JavaOne BOF on Memory Leaks
By wingzero on May 14, 2007
For those of you who came to Frank and myself's BOF session at JavaOne, you can download my "modified" jhat here jhat.jar. My modification of original jhat include:
- add exclude functionality on query results to make it easier to filter out hundreds of duplicate reference chains, this way it will be possible to find unique leaks (see Figure 1)
- add classloader browser to nicely display classloaders' parent-child relationship, as well as number of classes loaded in each classloader (see Figure 2)
To run jhat, simple do "java -Xmx512m -jar jhat.jar <heap_file_name>"
Update: Frank posted the presentation slides and audio recording of this BOF on his blog entry.