Skip to content

Commit

Permalink
limit bazel jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Oct 31, 2018
1 parent ac2e652 commit bdd1a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/bazel.rc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build --experimental_strict_action_env
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
# Limit Bazel to consuming resources that fit in CircleCI "medium" class which is the default:
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
build --jobs 10 --local_resources=2506,2.0,1.0
build --jobs 5 --local_resources=2506,2.0,1.0

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

0 comments on commit bdd1a3d

Please sign in to comment.