Skip to content

Commit

Permalink
build: Constrain JVM for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Jul 23, 2018
1 parent eb8c862 commit 97269c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/bazel.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ build --experimental_strict_action_env
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
build --local_resources=3072,2.0,1.0

# Also limit Bazel's own JVM heap to stay within our 4G container limit
startup --host_jvm_args=-Xmx2G

# Retry in the event of flakes, eg. https://circleci.com/gh/angular/angular/31309
test --flaky_test_attempts=2

0 comments on commit 97269c0

Please sign in to comment.