Profiling/Limiting Java Virtual Machine Memory use in Bazel? #18700
Unanswered
Ryang20718
asked this question in
Q&A
Replies: 1 comment 5 replies
-
It's quite common for folks to have something like this in their
Keep in mind you probably want to have a different value for your CI server where you should have more resources than local laptop. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wondering if there's some workflow to check for what's contributing to the bazel server memory use?
I've looked at https://bazel.build/advanced/performance/memory and https://bazel.build/rules/performance#memory-profiling
to narrow down that it's not a matter of our rules nor is it our tests that are causing the bazel server to use a lot of system memory.
Mainly whenever I run
ps aux | grep bazel
when I'm not running a bazel command, it reports high memory use of 12 GB+ even though max Heap size is 12. Wondering if there's some flag to debug and know where bazel is eating up all this memory/flags to help tune the jvm for bazel?Beta Was this translation helpful? Give feedback.
All reactions