title: Decrease bazel memory usage
body: <p>I'm using bazel on a computer with 4 GB RAM (to compile the tensorflow project). Bazel does however not take into account the amount of memory I have and spawns too many jobs causing my machine to swap and leading to a longer build time. </p>
  
  <p>I already tried setting <a href="http://bazel.io/docs/bazel-user-manual.html#flag--ram_utilization_factor" rel="noreferrer">the ram_utilization_factor flag</a> through the following lines in my <code>~/.bazelrc</code> </p>
  
  <pre><code>build --ram_utilization_factor 30
  test --ram_utilization_factor 30
  </code></pre>
  
  <p>but that did not help. How are these factors to be understood anyway? Should I just randomly try out some others?</p>