Try setting you xms and xmx to the same value. You have enough memory to go 
pretty high so I’d try 31gb, 31000mg. Do not go over 31. Also disable swap on 
the server 

Let me know if it helps

> On Aug 29, 2021, at 3:56 AM, HariBabu kuruva <hari2708.kur...@gmail.com> 
> wrote:
> 
> Hi All
> 
> We are using solr cloud 8.8.1.
> 
> We are frequently seeing memory and CPU reaching 100%.
> 
> Can someone please suggest ideal way to define java heap memory.
> 
> Server memory is 62Gb, swap-7Gb
> 
> Currently we have defined as below in solr in.sh
> 
> SOLR_HEAP= 46000m
> SOLR_JAVA_MEMORY= Xms:1024m, Xmx: 7098m
> 
> Please suggest the way to fine tune the above parameters to avoid memory
> utilisation.
> 
> Thanks
> Hari

Reply via email to