[bazel] Force all workers to quit after the build to prevent excessive memory usage when idle (IJI-3206)

(cherry picked from commit 3b4b116d54aa644354f6b3994149058bc17aba76)

GitOrigin-RevId: 89657f0c2b64949f7a03de89a4ea92b44c139b39
This commit is contained in:
Ilia Kirianovskii
2025-10-30 14:06:29 +01:00
committed by intellij-monorepo-bot
parent a74e887a93
commit 0c92e9ee4c

View File

@@ -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