@@ -7,7 +7,7 @@ LABEL project calendar-center
LABEL name 工作历
# 不再指定内存大小限制,采用容器,请结合k8s yaml文件limits memory使用
-ENV JAVA_OPTS -Dfile.encoding=UTF-8 -XX:+UseContainerSupport -XX:InitialRAMPercentage=100 -XX:MaxRAMPercentage=100 -XX:MinRAMPercentage=100
+ENV JAVA_OPTS -Dfile.encoding=UTF-8 -XX:+UseContainerSupport -XX:MaxRAMPercentage=80 -XX:MinRAMPercentage=80
ENV TZ Asia/Shanghai
ARG WORKER_HOME