FWIW, I just tried using 8.7.0 to run:
        bin/solr -m 200m -e cloud -noprompt

And then setup the following bash one liner to poll the heap metrics...

while : ; do date; echo "node 8989" && (curl -sS 
http://localhost:8983/solr/admin/metrics | grep memory.heap); echo "node 7574" 
&& (curl -sS http://localhost:8983/solr/admin/metrics | grep memory.heap) ; 
sleep 30; done

...what i saw was about what i expected ... heap usage slowly grew on both 
nodes as bits of garbage were generated (as expected cosidering the 
metrics requests, let alone typical backgroup threads) until eventually it 
garbage collected back down to low usage w/o ever encountering an OOM or 
crash...

....
Thu Jan 28 12:38:47 MST 2021
node 8989
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.7613688659667969,
      "memory.heap.used":159670624,
node 7574
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.7713688659667969,
      "memory.heap.used":161767776,
Thu Jan 28 12:39:17 MST 2021
node 8989
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.7813688659667969,
      "memory.heap.used":163864928,
node 7574
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.7913688659667969,
      "memory.heap.used":165962080,
Thu Jan 28 12:39:47 MST 2021
node 8989
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.8063688659667969,
      "memory.heap.used":169107808,
node 7574
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.8113688659667969,
      "memory.heap.used":170156384,
Thu Jan 28 12:40:17 MST 2021
node 8989
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.3428504943847656,
      "memory.heap.used":71900960,
node 7574
      "memory.heap.committed":209715200,
      "memory.heap.init":209715200,
      "memory.heap.max":209715200,
      "memory.heap.usage":0.3528504943847656,
      "memory.heap.used":73998112,






-Hoss
http://www.lucidworks.com/

Reply via email to