From 2d7a4f9152bc758bf78cced87c85bb9c48233323 Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Thu, 30 Oct 2025 14:06:29 +0100 Subject: [PATCH] [bazel] Force all workers to quit after the build to prevent excessive memory usage when idle (IJI-3206) GitOrigin-RevId: 3b4b116d54aa644354f6b3994149058bc17aba76 --- common.bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.bazelrc b/common.bazelrc index 4003a57e57d2..467f326497f0 100644 --- a/common.bazelrc +++ b/common.bazelrc @@ -48,6 +48,9 @@ common --@rules_jvm//:koltin_inc_threshold=0 --@rules_jvm//:java_inc_threshold=0 common --local_resources=memory=HOST_RAM*.77 --local_resources=cpu=HOST_CPUS*2 common --jobs=HOST_CPUS*2 --worker_max_multiplex_instances=JvmCompile=HOST_CPUS*2 +# Force all workers to quit after the build to prevent excessive memory usage when idle +common --worker_quit_after_build + # hide Java 8 deprecation warnings common --javacopt=-Xlint:-options