From dbf63e0327d6e93c4711067b9b8a0fc6fe35e97f Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Thu, 2 Apr 2020 09:05:10 +0200 Subject: [PATCH] bazel_tools: Attempt to reduce the Scala process heap size further. Especially the initial heap size. CHANGELOG_BEGIN CHANGELOG_END --- bazel_tools/scala.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel_tools/scala.bzl b/bazel_tools/scala.bzl index 8319f87bcf5f..ffffebd24645 100644 --- a/bazel_tools/scala.bzl +++ b/bazel_tools/scala.bzl @@ -124,8 +124,8 @@ default_compile_arguments = { "unused_dependency_checker_mode": "error", } -default_initial_heap_size = "512m" -default_max_heap_size = "2g" +default_initial_heap_size = "128m" +default_max_heap_size = "1g" default_scalac_stack_size = "2m" def _jvm_flags(initial_heap_size, max_heap_size):