Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Shounak Kundu
Ranch Hand
Posts: 60
IBM DB2 Eclipse IDE Fedora
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic