From 70fa3e4ff8b25672958d750efa7e7ebced29abf9 Mon Sep 17 00:00:00 2001 From: Claudia Agache Date: Thu, 12 Nov 2020 16:18:39 +0200 Subject: [PATCH] limit search memory to 1200 Mb --- rm-automation/rm-automation-community-rest-api/pom.xml | 5 ----- scripts/dockerLimitMemory.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index 6b53afa8c1..08b8b1bf57 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -80,11 +80,6 @@ alfresco-testng 1.1 - - org.testng - testng - 7.1.0 - org.apache.commons commons-collections4 diff --git a/scripts/dockerLimitMemory.sh b/scripts/dockerLimitMemory.sh index 74b259a8c7..71ae1f6095 100644 --- a/scripts/dockerLimitMemory.sh +++ b/scripts/dockerLimitMemory.sh @@ -6,7 +6,7 @@ docker stats --no-stream #limit memory used by each container docker update --memory=2.5Gb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_alfresco_' | awk '{print $1}') -docker update --memory=1Gb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_search_' | awk '{print $1}') +docker update --memory=1200Mb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_search_' | awk '{print $1}') docker update --memory=512Mb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_postgres_' | awk '{print $1}') docker update --memory=512Mb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_activemq_' | awk '{print $1}') docker update --memory=1Gb --memory-swap -1 --restart on-failure $(docker ps -a | grep '_transform-core-aio_' | awk '{print $1}')