Do not “optimize". It is a forced merge, not an optimization. It was a mistake to ever name it “optimize”. Solr automatically merges as needed. There are a few situations where a force merge might make a small difference. Maybe 10% or 20%, no one had bothered to measure it.
If your index is continually updated, clicking that is a complete waste of resources. Don’t do it. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Dec 29, 2015, at 6:35 PM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > > Hi, > > I am facing a situation, when I do an optimization by clicking on the > "Optimized" button on the Solr Admin Overview UI, the memory usage of the > server increases gradually, until it reaches near the maximum memory > available. There is 64GB of memory available in the server. > > Even after the optimized is completed, the memory usage stays near the 100% > range, and could not be reduced until I stop Solr. Why could this be > happening? > > Also, I don't think the optimization is completed, as the admin page says > the index is not optimized again after I go back to the Overview page, even > though I did not do any updates to the index. > > I am using Solr 5.3.0, with 1 shard and 2 replica. My index size is 183GB. > > Regards, > Edwin