From 82d811bde67c21447c26af75f7f29d39f337f3e6 Mon Sep 17 00:00:00 2001 From: pierre-maraval Date: Wed, 22 May 2024 09:12:19 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20:=20ajout=20pourcentage=20occupation=20m?= =?UTF-8?q?=C3=A9moire=20programme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8825475..e4039f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,4 +36,4 @@ WORKDIR /app/ COPY --from=build-image /build/target/*.jar /app/best-ppn-api.jar ENV TZ=Europe/Paris RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -ENTRYPOINT ["java","-jar","/app/best-ppn-api.jar"] +ENTRYPOINT ["java","-XX:MaxRAMPercentage=95","-jar","/app/best-ppn-api.jar"]