AnsweredAssumed Answered

Where to add the JVM parameters?

Question asked by Nag_cl on Oct 19, 2012
Latest reply on Oct 25, 2012 by Chris_Hackett
Hi,

Recently we often get OOM error.
So we got suggestions to add the JVM parametes to enable the detailed garabage collection logs

THESE OPTIONS SHOULD BE ADDED TO ENABLE DETAILED Gargbage Collection LOGGING (change the
path as required):
-Xloggc:/opt/apps/clarity/logs/clarity_garbage_collection.txt
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC

ADD THESE OPTIONS TO CREATE A HEAPDUMP FILE ON AN OUT OF MEMORY CONDITION
(change the path as required):
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=$CLARITY_HOME/heapdump/clarity_oom_heap_dmp_serverX.hprof


But i don't know where we need to add these parameters,as far as i know i can few jvm parameters in propperties.xml.

Do we need to add these in properites.xml?

Regards,
Nag

Outcomes