• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where can I find jmap for Windows/JDK 1.5?

 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

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
 
Nathan Russell
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Hope this helps;

Nathan
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35728
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've had a half written blog entry on this topic for months. It's now finished.

It comes with Java 1.6 for Windows. Just download the latest Java.
 
Amol Fuke
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

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
 
SumitPal Pal
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it tells you which instances/objects in your JVM Heap consume how many bytes of space
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!