Thanks for your reply Dave. Is it required to define both the parameters SOLR_HEAP and SOLR_JAVA_MEM. or can i comment SOLR_HEAP and only define SOLR_JAVA_MEM. Also what highest value of Xmx value i can go if i receive OOM with 31gb. I have only solr running on that node.
And could you please let me know the reason to disable swap memory. On Sun, Aug 29, 2021, 1:39 PM Dave <hastings.recurs...@gmail.com> wrote: > 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 >