diff --git a/.circleci/bazel.rc b/.circleci/bazel.rc index db2bc43d..1c0d881b 100644 --- a/.circleci/bazel.rc +++ b/.circleci/bazel.rc @@ -25,7 +25,7 @@ build --experimental_repository_cache=/home/circleci/bazel_repository_cache # Workaround https://github.com/bazelbuild/bazel/issues/3645 # Bazel doesn't calculate the memory ceiling correctly when running under Docker. -# Limit Bazel to consuming 3072M of RAM -build --local_resources=3072,2.0,1.0 +# Limit Bazel to consuming 2560K of RAM +build --local_resources=2560,1.0,1.0 # Also limit Bazel's own JVM heap to stay within our 4G container limit -startup --host_jvm_args=-Xmx2G +startup --host_jvm_args=-Xmx1g