Commit 7c5574d3 authored by liaozan's avatar liaozan 🏀

Update Dockerfile

parent af409d7f
......@@ -32,6 +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 \
-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"
......
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