From 1f04e8e626c306a0b9abd00bc9a024dfc9a253fc Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Tue, 17 Apr 2018 11:21:39 +0300 Subject: Memory usage growing fix Change-Id: Ia4cf3c5f7c000569fb7fb639913bbbbdb5c63ded Issue-ID: VID-196 Signed-off-by: Sonsino, Ofir (os0695) --- deliveries/src/main/docker/docker-files/Dockerfile | 1 + deliveries/src/main/docker/docker-files/docker-compose.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile index 3da8be52..a347659a 100755 --- a/deliveries/src/main/docker/docker-files/Dockerfile +++ b/deliveries/src/main/docker/docker-files/Dockerfile @@ -5,6 +5,7 @@ RUN apt-get update && apt-get install -y \ RUN sed -i 's/# alias/alias/g' /root/.bashrc +ENV JAVA_OPTS="-Xmx1536m -Xms1536m" ENV ROOT_DIR /opt/app/vid diff --git a/deliveries/src/main/docker/docker-files/docker-compose.yml b/deliveries/src/main/docker/docker-files/docker-compose.yml index d2c4e4b2..508867a7 100755 --- a/deliveries/src/main/docker/docker-files/docker-compose.yml +++ b/deliveries/src/main/docker/docker-files/docker-compose.yml @@ -6,8 +6,6 @@ services: - "8080:8080" links: - vid-mariadb:vid-mariadb-docker-instance - environment: - - JVM_OPTS=-Xmx1536m -Xms1536m vid-mariadb: image: mariadb:10.1.11 ports: -- cgit 1.2.3-korg