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

GitOrigin-RevId: 3b4b116d54aa644354f6b3994149058bc17aba76
This commit is contained in:
Ilia Kirianovskii
2025-10-31 01:38:27 +00:00
committed by intellij-monorepo-bot
parent ab51068c03
commit 2d7a4f9152
+3
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