Commit 16178d7d authored by liaozan's avatar liaozan 🏀

Update MaxRAMPercentage

parent 55dba625
...@@ -29,7 +29,7 @@ ENV PROFILE=${PROFILE} \ ...@@ -29,7 +29,7 @@ ENV PROFILE=${PROFILE} \
ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \ ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \
-XX:+UseG1GC -XX:G1HeapRegionSize=8m -XX:+UseStringDeduplication -XX:+ClassUnloading \ -XX:+UseG1GC -XX:G1HeapRegionSize=8m -XX:+UseStringDeduplication -XX:+ClassUnloading \
-XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=512m \ -XX:InitialRAMPercentage=70 -XX:MaxRAMPercentage=70 -XX:MaxMetaspaceSize=512m \
-Xlog:gc*=info,gc+heap=debug,gc+age=trace:/data/logs/gc/gc-%t.log:time:filecount=20,filesize=20m \ -Xlog:gc*=info,gc+heap=debug,gc+age=trace:/data/logs/gc/gc-%t.log:time:filecount=20,filesize=20m \
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh \ -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh \
-XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags" -XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment