One, install Eclipse Memory Analyzer
Find the address of the update site at Memory Analyzer's website:
Then: In the Eclipse interface--->help--->install New software--->add--->add reposity, and in location enter: Update Site address, you can install.
Two, raw piles dump file
This generates a heap dump file using the Jmap command.
Ctrl+alt+delete open Windows Task Manager, click: Process---> Find the PID of the currently running Eclipse/myeclipse process. "If the PID is not shown, you can click: View---> Select Columns--Check the PID
Once you know the PID of the process, you can use the following command to generate the dump file:
Jmap-dump:format=b,file=<dumpfile_name> <pid>
Third, analyze the heap dump file using the Eclipse Memory Analyzer plugin
After the heap dump file is generated, you can use Eclipse to open the file for analysis. Specific steps: Eclipse Interface: File--->open file---> Find heap dump files.
Supplemental: Windows under View process: Tasklist | findstr PID
View ports under Windows: Netstat-ano | Find "Port_number"
Resources:
Using Eclipse Memory Analyzer for heap dump file analysis
https://www.dynatrace.com/resources/ebooks/javabook/memory-leaks/
Java memory leak analysis using Eclipse memory Analyzer