Make JVM/Solr not swap, using mlockall

2019-09-06 17:42发布

问题:

I saw ElasticSearch provides the mlockall option which permits to keep the JVM heap inside physical memory instead of virtual memory (which may or not be physical), and to avoid swapping the heap.

Is there such an option with Solr?

回答1:

Check this mlockall For All article maybe it has some good insight.