From dd18a30bf5da69f80a9b95c40616a481369bea8c Mon Sep 17 00:00:00 2001 From: Patrick Magee Date: Tue, 24 Jan 2023 16:31:45 -0500 Subject: [PATCH] [#184309500] add tuneable headroom to docker image --- ci/impl/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/impl/Dockerfile b/ci/impl/Dockerfile index 8375f10..b76d924 100644 --- a/ci/impl/Dockerfile +++ b/ci/impl/Dockerfile @@ -54,5 +54,6 @@ CMD container_mem=$(cat "/sys/fs/cgroup/memory.max" || cat "/sys/fs/cgroup/memor --total-memory=$([ "$container_mem" = "max" -o -z "$container_mem" -o "$container_mem" -eq 9223372036854771712 ] && echo "2097152000" || echo "$container_mem")B \ --loaded-class-count="${ESTIMATED_LOADED_CLASSES:-15000}" \ --thread-count="${ESTIMATED_THREADS:-130}" \ + --head-room="${HEAD_ROOM:-10}" \ --jvm-options="${JAVA_OPTS}") ${JAVA_OPTS} \ -jar app.jar