Saturday 14 May 2016

Enabling JRockit Mission Control Flight Recorder

    To enable to flight recording add the following server start parameter

-XX:FlightRecorderOptions=defaultrecording=true,disk=true,repository=./jfr/Prod_server01,
maxage=1440ms,size=100m

maxage and size value 0 = unlimited


 Generating the heap dump automatically on OOM ( Out Of Memory ) conditions

add the below argument in server startup parameter 

-XX:+HeapDumpOnOutOfMemoryError

heap file dump generating same like generating using jrcmd command

No comments:

Post a Comment