Appian Technical Support might ask you to provide them with Java heap dumps to troubleshoot memory leaks, performance issues, etc. There are different ways of generating this file. This article describes the most common way of generating a heap dump. Please note that these commands should be run on the application server machine when collecting a heap dump of the application server's Java process.
<JAVA_HOME>/bin
<APPIAN_HOME>
<PID of Java Process>
jmap -dump:format=b,file="<APPIAN_HOME>/logs/heapdump.hprof" <PID of Java Process>
The jmap command will generate a file named heapdump.hprof under <APPIAN_HOME>/logs.
jmap
<APPIAN_HOME>/logs
To determine the ID of the Java process, run ps -ef | grep java in Linux or open Windows Task Manager and go to the Processes tab in Windows.
ps -ef | grep java
Note: the raw heap dump file may contain sensitive information from your Appian environment. Appian support will provide steps on your support ticket for analyzing the .hprof file captured.
This article applies to all versions of Appian.
Last Reviewed: May 2023