diff --git a/Dockerfile b/Dockerfile index 1ae49c24b49c9397541b8f940807f652e3e49413..e58a35eb955064d3c0c7c323061f57cc4045e44f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ ENV PROFILE=${PROFILE} \ ENV JVM_OPTS="-javaagent:/opt/skywalking-agent/skywalking-agent.jar \ -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=30 \ -XX:+AlwaysPreTouch -XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=50 \ - -XX:CompressedClassSpaceSize=128M -XX:MaxMetaspaceSize=256m \ + -XX:CompressedClassSpaceSize=256M -XX:MaxMetaspaceSize=512m \ -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:-OmitStackTraceInFastThrow -XX:+PrintCommandLineFlags"