This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Performance and the fly likes How to take heap dump in Sun JDK 1.5 (windows) programmatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "How to take heap dump in Sun JDK 1.5 (windows) programmatically" Watch "How to take heap dump in Sun JDK 1.5 (windows) programmatically" New topic
Author

How to take heap dump in Sun JDK 1.5 (windows) programmatically

Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

Hi ,

I have successfully taken heap dump in Sun JDK 1.6 (Windows) through HotSpotMXBean and by using jmap . Now , I have to do the same thing in JDK 1.5(windows).

Now the problem is that , in JDK 1.5 (windows) there is no jmap , neither does it support HotSpotMXBean. So , can you guide me how I can take heap dump of a whole JVM in 1.5.


Thanks in advance.

Shounak
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to take heap dump in Sun JDK 1.5 (windows) programmatically
 
It's not a secret anymore!