title: Prometheus 2.x Limit Memory Usage
body: <p>Basically I am looking for a equivalent of 1.x storage.local.target-heap-size.</p>
  
  <p>I have a prometheus app(running in a 6 core, 32G box) that pulls about host metrics from 2000 VMs. Scrape interval 5mins.</p>
  
  <p>Within few mins my RAM usage increases up to 29-30GBs and later in 10-15mins, it dies with OOM or server is Unavailable from UI.</p>
  
  <p>Any way we can tell prometheus to use a defined max RAM ?</p>