提交 55696183 作者: yanxin

提高最大内存限制

上级 90b50cae
...@@ -34,7 +34,7 @@ ENV APP_OPTS8="-Dspring.cloud.nacos.config.username=${NACOS_USERNAME}" ...@@ -34,7 +34,7 @@ ENV APP_OPTS8="-Dspring.cloud.nacos.config.username=${NACOS_USERNAME}"
ENV APP_OPTS9="-Dspring.cloud.nacos.config.password=${NACOS_PASSWORD}" ENV APP_OPTS9="-Dspring.cloud.nacos.config.password=${NACOS_PASSWORD}"
ENV APP_OPTS10="-Dserver.port=${PORT}" ENV APP_OPTS10="-Dserver.port=${PORT}"
ENV JVM_OPTS="-Xmx2024M -Xms256M" ENV JVM_OPTS="-Xmx6000M -Xms256M"
EXPOSE ${PORT} EXPOSE ${PORT}
# 解决导出字体缺失报错问题 # 解决导出字体缺失报错问题
......
...@@ -32,4 +32,4 @@ nacos_password="nacos" ...@@ -32,4 +32,4 @@ nacos_password="nacos"
# 资源限制 # 资源限制
## cpu ## cpu
limit_cpu=2.0 limit_cpu=2.0
limit_mem=2g limit_mem=6g
\ No newline at end of file \ No newline at end of file
...@@ -32,4 +32,4 @@ nacos_password="nacos" ...@@ -32,4 +32,4 @@ nacos_password="nacos"
# 资源限制 # 资源限制
## cpu ## cpu
limit_cpu=2.0 limit_cpu=2.0
limit_mem=2g limit_mem=6g
\ No newline at end of file \ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论