From 2e915fe106e0b9f0153052b20c788f30a5e24983 Mon Sep 17 00:00:00 2001 From: axzsd Date: Fri, 16 Jun 2023 13:55:56 +0800 Subject: [PATCH] =?UTF-8?q?test=20=E5=88=86=E6=94=AF=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=9C=8D=E5=86=85=E5=AD=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builds/Dockerfile | 2 +- builds/docker-compose-test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/Dockerfile b/builds/Dockerfile index 995db64f9..ac8f65536 100644 --- a/builds/Dockerfile +++ b/builds/Dockerfile @@ -5,7 +5,7 @@ LABEL Author="axzsd" \ Description="创盈支付服务端" ENV SPRING_PROFILES_ACTIVE="dev" -ENV JAVA_OPTIONS "-Xms800m -Xmx800m \ +ENV JAVA_OPTIONS "-Xms1024m -Xmx2048m \ -XX:+HeapDumpOnOutOfMemoryError \ -Dfile.encoding=UTF-8 \ -Djava.awt.headless=true \ diff --git a/builds/docker-compose-test.yml b/builds/docker-compose-test.yml index 290d59145..05dbefd92 100644 --- a/builds/docker-compose-test.yml +++ b/builds/docker-compose-test.yml @@ -20,7 +20,7 @@ services: deploy: resources: limits: - memory: 800MB + memory: 2048MB healthcheck: test: ["CMD", "curl", "-f", "http://localhost:48080/actuator/health"] timeout: 30s