본문 바로가기

Java For All

jvm options for tomcat

tomcat jvm options for testing within MyEclipse 6.5

 -Dserver
-XX:+UseConcMarkSweepGC
-Dcom.sun.management.jmxremote
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:D:\gc.log
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=D:\heapdump\


 -Dserver
: server mode jvm


-XX:+UseConcMarkSweepGC
-XX:+UseParallelGC
: garbage collection model


-Dcom.sun.management.jmxremote
: enables monitoring with JConsole and JVisualVM

-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:D:\gc.log
: print garbage collection log


-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=D:\heapdump\
: generates heapdump into a specific folder


ref)
http://www.yunsobi.com/blog/140
http://bcho.tistory.com/entry/JVM-%ED%8A%9C%EB%8B%9D
http://kyungseo.pe.kr/blog/55


틀린 점이 있거나 부족한 점이 있다면, 알려 주십시오.


출처: http://cacky.tistory.com/89