I have Eclipse Memory Analyzer v1.3.1, and need to analyze some .phd heap dumps.
According to this question, it is necessary to install DTJF on Eclipse Memory Analyzer.
This link in the question says: Memory Analyzer can also read memory-related information from IBM system dumps and from Portable Heap Dump (PHD) files. For this purpose one just has to install the IBM DTFJ feature into Memory Analyzer version 0.8 or later. Follow the IBM DTFJ feature installation instructions. If the DTFJ feature is successfully installed then 'File' 'Open Heap Dump' should give the following options for the file types ......
When I click on the link from the "Installation" section, I arrive at this location which seems to be a file listing with some .jar files and 1 .xml file, but no installation instructions.
Does anybody know what I am supposed to do? I have not installed Eclipse Memory Analyzer v1.3.1 "properly" - I just downloaded all the files and put them under C:\Users(my username)\Documents\Software\MemoryAnalyzer-1.3.1.20140107-win32.win32.x86\mat and normally run it by double-clicking the file MemoryAnalyzer.exe. Do I have to do something before DTFJ can be installed?
Choose File -> Open Heap Dump and choose your . phd file. It should open in MAT and allow you to figure out who is using all that memory.
Use the Eclipse Memory Analyzer You may need to refresh your project (F5 on the project). Double-click the file and select the Leak Suspects Report. The overview page allows you to start the analysis of the heap dump. The dominator tree gives quickly an overview of the used objects.
Open Eclipse MAT To open the heapdump, go to File > Open Heap Dump (Not Acquire Heap Dump) and browse to your heapdump location. No need to open an existing report, press cancel if you have a modal dialog. Choose "list objects" > "with outgoing references". It will open a new tab with the list of all the elements.
The location http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/dtfj/ is an Eclipse update site. You can use it to install the DTFJ plugin by going to Help->Install New Software in Memory Analyzer and adding it as a new update site location.
Alternatively you can use a build of Memory Analyzer with the IBM DTFJ feature already installed using IBM Support Assistant. There's more instructions for that on the IBM devloperworks site here: https://www.ibm.com/developerworks/java/jdk/tools/memoryanalyzer/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With