Reputation: 48404
This is probably embarrassingly easy but please bear with me.
I have to analyze a heap dump, and have received files in the .heapdump
format, while I expected .hprof
files.
The Eclipse memory analyzer refuses to open .heapdump
files, and I'm not sure which tool I should use, or which transformation to apply in order to get them to work with mat.
Unfortunately, the results of my searches on the matter so far are polluted with basic tutorials, i.e. "how to open a .heapdump file" gets me results on "how to analyze a heap dump" essentially.
Edit from comments below
I have tried a few suggestions (thanks all), but none of the below worked:
hprof
).heapdump
format and will not open the file eitherUpvotes: 1
Views: 6089
Reputation: 48404
At the cost of making this look self-serving and suspiciously convenient, I am now able to answer my own question.
The .heapdump
file format can be opened by an IBM tool called Heap Analyzer, which is publicly available on developerWorks at the time of writing.
Disclaimer
I am employed by IBM at the time of writing.
Upvotes: 4