title: Limit chrome headless CPU and memory usage
body: <p>I am using selenium to run chrome headless with the following command:</p>
  
  <pre><code>system "LC_ALL=C google-chrome --headless --enable-logging --hide-scrollbars --remote-debugging-port=#{debug_port} --remote-debugging-address=0.0.0.0 --disable-gpu --no-sandbox --ignore-certificate-errors &amp;"
  </code></pre>
  
  <p>However it appears that chrome headless is consuming too much memory and cpu,anyone know how we can limit CPU/Memory usage of chrome headless? Or if there is some workaround. </p>
  
  <p>Thanks in advance.</p>