Skip to content

Commit 7ef4e7e

Browse files
committed
Changed GC to ZGC
1 parent 72924e4 commit 7ef4e7e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN adduser -D uid2-operator && mkdir -p /opt/uid2 && chmod 777 -R /opt/uid2 &&
2727
USER uid2-operator
2828

2929
CMD java \
30-
-XX:MaxRAMPercentage=95 -XX:-UseCompressedOops -XX:+PrintFlagsFinal -XX:-OmitStackTraceInFastThrow \
30+
-XX:+UseZGC -XX:+ZGenerational \
31+
-XX:MaxRAMPercentage=85 -XX:-UseCompressedOops -XX:+PrintFlagsFinal -XX:-OmitStackTraceInFastThrow \
3132
-Djava.security.egd=file:/dev/./urandom \
3233
-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory \
3334
-Dlogback.configurationFile=/app/conf/logback.xml \

0 commit comments

Comments
 (0)