I use bazel on a computer with 4 GB of RAM (to compile tensorflow project). However, Bazel does not take into account the amount of memory that I have, and generates too many jobs, causing my machine to change and lead to longer build times.
I already tried setting the ram_utilization_factor flag through the following lines in~/.bazelrc
build --ram_utilization_factor 30
test --ram_utilization_factor 30
but it did not help. How should all these factors be understood? Should I just randomly try out some others?
source
share