Skip to content

Commit

Permalink
bazel: bump host jvm size
Browse files Browse the repository at this point in the history
We're seeing OOMs on the arm CI builds, this might fix that.

Signed-off-by: Keith Smiley <[email protected]>
  • Loading branch information
keith committed May 27, 2022
1 parent 2382e04 commit 37e0503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# enough to consume all memory constrained by cgroup in large host.
# Limiting JVM heapsize here to let it do GC more when approaching the limit to
# leave room for compiler/linker.
# The number 2G is chosen heuristically to both support large VM and small VM with RBE.
# The number 3G is chosen heuristically to both support large VM and small VM with RBE.
# Startup options cannot be selected via config.
startup --host_jvm_args=-Xmx2g
startup --host_jvm_args=-Xmx3g

run --color=yes

Expand Down

0 comments on commit 37e0503

Please sign in to comment.