File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons 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
 
jQuery in Action, 2nd edition
 
subject: How to take heap dump in Sun JDK 1.5 (windows) programmatically
 
Similar Threads
How to take memory heap dump snapshot in java
taking a heap dump
.JAR file appears to stop running
Getting a heap dump
Help with thread dump