From ed3507977bae62f84b46b8eaf95f37faa68b36ec Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Wed, 16 Jun 2021 17:13:16 +0100 Subject: [PATCH] Switch to UseContainerSupport and MaxRAMPercentage --- services/git-bridge/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/git-bridge/start.sh b/services/git-bridge/start.sh index d46c8971d4..85eb1c4dd4 100755 --- a/services/git-bridge/start.sh +++ b/services/git-bridge/start.sh @@ -1,3 +1,3 @@ #!/bin/bash /opt/envsubst < /envsubst_template.json > /conf/runtime.json -exec java -Xms512m -Xmx3072m -jar /git-bridge.jar /conf/runtime.json +exec java -XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -jar /git-bridge.jar /conf/runtime.json