This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

have a .hprof file. Now what?

 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please SearchFirst(←click). Thanks!

https://www.google.com/search?q=how+to+read+hprof+file
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic