Skip to content

Commit

Permalink
[Improve]Improve gc params
Browse files Browse the repository at this point in the history
  • Loading branch information
zhugezifang authored Feb 26, 2024
1 parent 6d72fc3 commit 3fe17c2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,15 @@ DEFAULT_OPTS="""
-XX:NewSize=100m
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=70
-XX:+PrintGC
-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-XX:GCLogFileSize=50M
-XX:NumberOfGCLogFiles=10
-XX:+UseGCLogFileRotation
-Xloggc:${APP_HOME}/logs/gc.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=${APP_HOME}/logs
"""

DEBUG_OPTS=""
Expand Down

0 comments on commit 3fe17c2

Please sign in to comment.