Java JVM and JMX Parameters

XX:NumberOfGCLogFiles – Must be uppercase L otherwise you will get
java unrecognized vm option numberofgclogfiles

 JVM memory options

 -Xmx1048m -Xms512m

JVM GC Thread

-XX:ConcGCThreads=8 -XX:+UseParNewGC 
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 
-XX:+UseCMSInitiatingOccupancyOnly

JVM GC Debug options:

-XX:-PrintGCTimeStamps -XX:-PrintGCDetails 
-XX:-PrintTenuringDistribution -Xloggc:bregclog.log 
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=4 
-XX:GCLogFileSize=2M -verbose:gc

 JMX Options:

-Dcom.sun.management.jmxremote 
-Dcom.sun.management.jmxremote.port=4242 
-Dcom.sun.management.jmxremote.ssl=false  
-Dcom.sun.management.jmxremote.authenticate=false

 Reference: