On 2/7/2018 12:01 PM, Susheel Kumar wrote:
Just trying to find where do we set swap space available to Solr process. I
see in our 6.0 instances it was set to 2GB on and on 6.6 instances its set
to 16GB.
Solr has absolutely no involvement or control over swap space. Neither
does Java. This is a function of your operating system's memory
management, and is typically set up when you first install your OS.
https://www.linux.com/news/all-about-linux-swap-space
https://en.wikipedia.org/wiki/Paging#Windows_NT
If your system is using swap space, it's a strong indication that you
don't have enough memory installed. If any of the memory that Solr uses
is swapped out to disk, Solr performance is going to be REALLY bad.
Thanks,
Shawn