It looks like something on one of our JBoss servers is leaking memory. JConsole shows that we're using more and more Heap ... but I'm not sure what tools are available to determine *what* is leaking.
Our environment is JBoss 4.2.1GA, Sun Java JDK 1.5.0_12 (Sun HotSpot 64-bit Server compiler).
Q: where can I download a compatible version jmap.exe and/or jhat.exe?
Q: are you aware of any other tools that can do a heap dump (or "moral equivalent" of a heap dump) to help troubleshoot this problem?
Thank you in advance .. PSM
Paul M. Santa Maria, SCJP
Nathan Russell
Ranch Hand
Joined: Aug 18, 2004
Posts: 75
posted
0
I could be wrong, but I'm pretty sure jmap is only in the JDK distributions, but crucially is not available in the Windows distro's for some reason?
We had the exact same requirement (tracing a memory leak type problem of an app running under Jboss) and we had to host it on linux to be able to use jmap
I filtered hprof file from jmap based on classes and I see 2 columns 'Instances' and 'Size' apart from others.Can I know what does these 2 columns mean ? I see the size for some classes as big as 300.
Please let me know what these 2 column means ?
Thanks,
Amol
"There are no mistakes, only lessons"
SumitPal Pal
Greenhorn
Joined: Aug 31, 2010
Posts: 21
posted
0
it tells you which instances/objects in your JVM Heap consume how many bytes of space
subject: Where can I find jmap for Windows/JDK 1.5?