From 3c936abfbb4a4bd44fd5ac0bf90620deb8e5f09e Mon Sep 17 00:00:00 2001 From: liaozan <378024053@qq.com> Date: Sat, 19 Aug 2023 17:06:43 +0800 Subject: [PATCH] Polish --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3641190..c23741d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,8 @@ ENV PROFILE="${PROFILE}" ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar=agent.service_name=${APP_NAME},collector.backend_service=skywalking-oap-server.devops:11800\ -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false\ - -XX:MaxRAMPercentage=65 -XX:MaxMetaspaceSize=512m\ - -XX:+UseG1GC -XX:SurvivorRatio=4 -XX:+UseStringDeduplication -Xlog:gc*:/data/logs/gc/gc-%t.log:time,uptime:filecount=50\ + -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=512m -XX:+ClassUnloading\ + -XX:+UseG1GC -XX:G1HeapRegionSize=8m -XX:+UseStringDeduplication -Xlog:gc*:/data/logs/gc/gc-%t.log:time,uptime:filecount=50\ -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/heapdump/heapdump.hprof -XX:OnOutOfMemoryError=/app/dump-file-rollover.sh\ -XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags" -- GitLab