Home /

Solr Out of Memory (OOM): Causes and Solutions

solr-OOM

SearchStax Cloud is a managed Solr-as-a-Service solution that makes it easy to set up, manage and maintain Apache Solr. Solr is an open-source enterprise-search platform from Apache Lucene Project which is written in Java. 

One issue with Java applications is that they sometimes encounter out of memory errors, and this is a common issue with Solr deployments too. When Solr runs out of memory, we intuitively expect that the index is too large or the application is overwhelmed by a very high indexing rate. Although these issues are common, they might not be the real or the only reasons.

Solr OOM Reasons

There are four primary reasons why your Solr deployment might throw an OOM exception:

  1. Requesting a large number of rows
  2. Queries starting at a large page number
  3. Faceting, sorting and grouping queries
  4. Large cache – QueryResutCache, DocumentCache, FilterCache and FieldCache

 

We provide additional details along with recommendations for resolving the errors in the full post below.

Enter your Business Email to View Our Recommendations

About the Author

By Dipsy Kapoor

VP, Engineering

February 18, 2020

Topic:

Recommended for you

Test ChatGPT in iFrame

Test ChatGPT in iFrame Ask me a question about SearchStax below. Example questions could include: What is SearchStax Serverless Solr? What does SearchStax Serverless Solr

Test Knowledge Base Widget

Testing Knowledge Base Widget This is a test of the Document360 Knowledge Base Widget. Click on the purple icon in the bottom right corner to

Get the Latest Content First