diff --git a/test/api/functional/Dockerfile b/test/api/functional/Dockerfile index d1298d291..2b16564ca 100644 --- a/test/api/functional/Dockerfile +++ b/test/api/functional/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /build ## Run the build if we don't already have a vinyldns-api.jar RUN if [ -f artifacts/vinyldns-api.jar ]; then cp artifacts/vinyldns-api.jar /opt/vinyldns; fi && \ if [ ! -f /opt/vinyldns/vinyldns-api.jar ]; then \ - env SBT_OPTS="-XX:+UseConcMarkSweepGC -Xmx4G -Xms1G" \ + env SBT_OPTS="-Xmx2G -Xms512M -Xss2M -XX:MaxMetaspaceSize=2G" \ sbt -Dbuild.scalafmtOnCompile=false -Dbuild.lintOnCompile=fase ";project api;coverageOff;assembly" \ && cp artifacts/vinyldns-api.jar /opt/vinyldns/; \ fi