Another thing I would keep in mind is running your xms and xmx at the same memory size. Ideally the machine it’s on has a lot of memory, so if both are set to 31gb, and the os still has enough memory to read your index, is nearly ideal.
> On Jun 25, 2021, at 8:36 AM, Rafał Kuć <r....@solr.pl> wrote: > > Hello Paul, > > The error that you are seeing tells you that your Solr instance didn't have > enough memory to run certain operation - for example indexing or querying. > Have a look at this page of the documentation: > https://solr.apache.org/guide/6_6/jvm-settings.html#JVMSettings-ChoosingMemoryHeapSettings > > <https://solr.apache.org/guide/6_6/jvm-settings.html#JVMSettings-ChoosingMemoryHeapSettings> > - though it is for version 6.6 it is valuable for Solr 5.2.1 as well. You > may just not have enough memory given to the JVM. I would start with that. > > Check your Solr logs to find out the problematic part and when it happens. If > that happens during the query time you will usually find longer than usual > running queries. That's a good place to start. > > > --- > Regards, > Rafał Kuć > > > > >> On 25 Jun 2021, at 10:52, Paul, Lulu <lulu.p...@bl.uk> wrote: >> >> Hi team, >> >> We are running SOLR 5.2.1 version and this is the error we receive on our >> LIVE instance. I am relatively new to the project and still learning about >> SOLR. >> >> org.apache.solr.common.SolrException; null:java.lang.RuntimeException: >> java.lang.OutOfMemoryError: Java heap space >> >> Please can you suggest what should be checked and a possible resolution to >> this problem ? >> >> Below is the into from SOLR UI Dashboard on system space : >> >> >> >> Much appreciate your advice >> Thank you, best wishes Lulu >> >> >> >> ****************************************************************************************************************** >> Experience the British Library online at www.bl.uk <http://www.bl.uk/> >> The British Library’s latest Annual Report and Accounts : >> www.bl.uk/aboutus/annrep/index.html >> <http://www.bl.uk/aboutus/annrep/index.html> >> Help the British Library conserve the world's knowledge. Adopt a Book. >> www.bl.uk/adoptabook <http://www.bl.uk/adoptabook> >> The Library's St Pancras site is WiFi - enabled >> ***************************************************************************************************************** >> The information contained in this e-mail is confidential and may be legally >> privileged. It is intended for the addressee(s) only. If you are not the >> intended recipient, please delete this e-mail and notify the >> postmas...@bl.uk <mailto:postmas...@bl.uk> : The contents of this e-mail >> must not be disclosed or copied without the sender's consent. >> The statements and opinions expressed in this message are those of the >> author and do not necessarily reflect those of the British Library. The >> British Library does not take any responsibility for the views of the author. >> ***************************************************************************************************************** >> Think before you print >