diff options
author | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-04-17 11:21:39 +0300 |
---|---|---|
committer | Sonsino, Ofir (os0695) <os0695@intl.att.com> | 2018-04-17 11:21:39 +0300 |
commit | 1f04e8e626c306a0b9abd00bc9a024dfc9a253fc (patch) | |
tree | 668556636278c03bef6012c00830679333d50165 | |
parent | 3e3599d00f987e50a3041a8d371e1daa88e37d5e (diff) |
Memory usage growing fix
Change-Id: Ia4cf3c5f7c000569fb7fb639913bbbbdb5c63ded
Issue-ID: VID-196
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
-rwxr-xr-x | deliveries/src/main/docker/docker-files/Dockerfile | 1 | ||||
-rwxr-xr-x | deliveries/src/main/docker/docker-files/docker-compose.yml | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/deliveries/src/main/docker/docker-files/Dockerfile b/deliveries/src/main/docker/docker-files/Dockerfile index 3da8be527..a347659a5 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 d2c4e4b2a..508867a7e 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:
|