Heapdump¶
Analyzing Heap of JAVA-Process i.e. Wildfly
jmap -heap <pid>
will show the current heap usage.
The full heap can be dumped with
jmap -dump:format=b,file=<file> <pid>
Please see https://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html.
The heapdump can be analyzed with MemoryAnalyingTool (MAT) https://www.eclipse.org/mat/.