Alex Rivera | Logout

Tool or tricks to analyze offline Java heap dumps (.hprof)

Asked 2010-12-03T16:18:38.293
26

Are there any tools that allow offline analysis (including summary/sorting/sifting) of an .hprof file? Or can you run VisualVM, hat etc in batch mode?

I'm interested in something that can take an input .hprof file, crunch it and generate reports.

I assume you would need to pass in a bunch of options to configure the report, so if you know any helpful tips, please weigh in.

Preferably scriptable so I could run a bunch at once.

Edit
Report

1 Answer

2

Can you use jmap -histo ? What sort of report are you looking to extract?

answered 2010-12-03T16:23:40.817

Your Answer