On 11/16/23 00:14, bilal qureshi wrote:
I'm running facet queries with G1GC, and Solr is crashing with OOM, not
triggering GC.
All caches are disabled in solrconfig.xml.

The Java OutOfMemoryError exception can happen for resource depletions that are NOT memory. Until you know exactly what resource was actually depleted, you could be chasing the wrong problem.

Solr 9.1.1 may not always log the actual OOME exception. Solr 9.2.0 or later will - rather than executing a script on OOME, the later version actually crashes Java, and Java itself will log the reason in its crash log.

Once you know the reason for the OOME, we can proceed. There are exactly two ways to deal with OOME:

1) Increase the amount available of the depleted resource.
2) Change the configuration or fix the software so it needs less of that resource.

Thanks,
Shawn

Reply via email to