diff --git a/integration/bazel/.bazelrc b/integration/bazel/.bazelrc index 8a3a7fd256..a139814adc 100644 --- a/integration/bazel/.bazelrc +++ b/integration/bazel/.bazelrc @@ -6,8 +6,10 @@ build --strategy=AngularTemplateCompile=worker test --test_output=errors # Workaround https://github.com/bazelbuild/bazel/issues/3645 -# Limit Bazel to consuming 3072K of RAM -build --local_resources=3072,2.0,1.0 +# Bazel doesn't calculate the memory ceiling correctly when running under Docker. +# Limit Bazel to consuming resources that fit in CircleCI "xlarge" class +# https://circleci.com/docs/2.0/configuration-reference/#resource_class +build --local_resources=14336,8.0,1.0 # Use the Angular 6 compiler -build --define=compile=legacy \ No newline at end of file +build --define=compile=legacy