diff --git a/Dockerfile b/Dockerfile index 7b38a248ac1fff8b73a89076330fce846cc6e8a4..2eb74a2a0cf56ee3f5c4353674c253afe6b8b022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ ENV PROFILE=${PROFILE} \ ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \ -XX:InitialRAMPercentage=70 -XX:MaxRAMPercentage=70 \ -XX:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags \ - -XX:CompressedClassSpaceSize=128M -XX:MaxMetaspaceSize=300m \ + -XX:CompressedClassSpaceSize=64M -XX:MaxMetaspaceSize=300m \ -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=30 \ -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"