Skip to content

Commit

Permalink
Enhancement: refactor the tomcat java opts config
Browse files Browse the repository at this point in the history
  • Loading branch information
superhj1987 committed Nov 3, 2016
1 parent b44433f commit 42bb054
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tomcat/java&catalina_opts.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ export JAVA_OPTS="
-XX:-CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=90 #触发full gc的内存使用百分比
-XX:+PrintClassHistogram
-XX:+PrintGCDetails
-XX:+PrintHeapAtGC #打印gc前后的heap信息
-XX:+PrintGCDetails #以下都是为了记录gc日志
-XX:+PrintGCDateStamps
-XX:+PrintHeapAtGC
-XX:+PrintClassHistogram
-Xloggc:/home/logs/gc.log"

port = 8900
Expand Down

0 comments on commit 42bb054

Please sign in to comment.