You can enable or disable Java Virtual Machine (JVM) memory dump, or change the memory dump's storage location.
The Java Virtual Machine (JVM) memory dump is disabled by default. On Windows, the run.bat file specifies the memory dump location, and on Linux, the run.sh file specifies the memory dump location.
-
Edit <PA_HOME>/bin/run.bat on
Windows, or <PA_HOME>/bin/run.sh
on Linux.
- To enable JVM memory dump, remove the comment tag on the line that
specifies the JVM memory dump location. For example:
HEAP_DUMP="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$PA_HOME/log"
- To disable JVM memory dump, comment out the line. For example:
#HEAP_DUMP="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$PA_HOME/log"
- To enable JVM memory dump, remove the comment tag on the line that
specifies the JVM memory dump location. For example: