title: Limit Tensorflow CPU and Memory usage
body: <p>I've seen several questions about GPU Memory with Tensorflow but I've installed it on a Pine64 with no GPU support.</p>
  
  <p>That means I'm running it with very limited resources (CPU and RAM only) and Tensorflow seems to want it all, completely freezing my machine.</p>
  
  <p><br></p>
  
  <p>Is there a way to limit the amount of processing power and memory allocated to Tensorflow? Something similar to bazel's own <code>--local_resources</code> flag?</p>