wood burning stoves 2.0
The moose likes Java in General and the fly likes have a .hprof file.  Now what? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "have a .hprof file.  Now what?" Watch "have a .hprof file.  Now what?" New topic

have a .hprof file. Now what?

peter cooke
Ranch Hand

Joined: Mar 16, 2004
Posts: 317
The production tomcat server ran out of memory and dumped a .hprof file. Yippie a crash dump.
But it is a binary file.

How do I spit out in human readable format what is in my hprof file???

CIAO Peter M. Cooke
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109

Please SearchFirst(←click). Thanks!

peter cooke
Ranch Hand

Joined: Mar 16, 2004
Posts: 317
I have looked at the eclipse tool and jhat.

Jhat dump_file - starts a web server at port 7000 and shows none of my classes. the only thing is shows is that there was 7 instances java.lang.Class, zero instance of java.lang.String

VisualVM won't even load it.

I agree. Here's the link: http://aspose.com/file-tools
subject: have a .hprof file. Now what?
It's not a secret anymore!