You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Memory settings for the JVM. These should be set as high as you can allow for best performance and to reduce the chance of Solr restarting itself due to OOM situations.
Lucene/Solr makes extensive use of MMapDirectory, which uses RAM not reserved for the JVM for most of the Lucene index. Therefore, as much memory as possible should be left for the operating system to use for this purpose.
Ensuring that the systems have enough RAM which is not allocated to the JVM heap is paramount for performance, and should be around 25-50% of total RAM. Not to be confused with the recommended 25-50% headroom over the minimum tested JVM Heap usage mentioned in the documentation, specific per setup/use-case.
The text was updated successfully, but these errors were encountered:
Yeah, I think we could update those suggestions (and maybe bump the defaults to at least 512/1G) since when I wrote this originally, I think it was on Solr 1.4 or so :D
Currently the README recommends:
However as per the Solr reference documentation: https://solr.apache.org/guide/8_11/jvm-settings.html
Ensuring that the systems have enough RAM which is not allocated to the JVM heap is paramount for performance, and should be around 25-50% of total RAM. Not to be confused with the recommended 25-50% headroom over the minimum tested JVM Heap usage mentioned in the documentation, specific per setup/use-case.
The text was updated successfully, but these errors were encountered: