On 6/25/2021 2:52 AM, Paul, Lulu wrote:
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
See here for the only two ways to deal with OOME:
https://cwiki.apache.org/confluence/display/SOLR/SolrPerformanceProblems#SolrPerformanceProblems-JavaHeap
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 :
I'm very surprised that your image made it to the list. They almost
never do. The mailing list software almost always eats attachments.
Something about that image stands out ... you have 7GB of swap used.
This indicates that the server doesn't have enough memory installed to
handle what it is being asked to do. The system is using part of your
disk as additional memory ... and when it does this, performance of
everything on the system will be AWFUL. This is because disks are
REALLY slow compared to memory.
Thanks,
Shawn