HeapDumpOnOutOfMemoryError in app-system log

book

Article ID: 125407

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction



I see these lines in the app-system.log, does this mean I have an OutOfMemory error?
 
2019/01/27 22:22:32.846 | INFO: Command line argument: -XX:+HeapDumpOnOutOfMemoryError
2019/01/27 22:22:32.846 | INFO: Command line argument: -XX:HeapDumpPath=/clarity/logs
2019/01/27 22:22:32.846 | INFO: Command line argument: -XX:+PrintHeapAtGC
 

Environment

Release: CODFSS99000-15.4.1-PPM SAAS FedRAMP-Sandbox-Small Environment
Component:

Resolution

 This is not indication of OutOfMemory issue.
 
The application, when starting back, is initializing the JVM properties.
 
 -XX:+HeapDumpOnOutOfMemoryError , -XX:HeapDumpPath and -XX:+PrintHeapAtGC are the JVM arguments used for the application in the properties.xml and upon starting it, which ensure that any time there is an OutOfMemory error, an automatic heap dump will be created in this specified directory.
 
When you have an OutOfMemory, you will see in app-system a note: "Heap dump file created" or "java.lang.OutOfMemoryError: Java heap space "