On Sun, 2017-07-02 at 15:00 +0800, Zheng Lin Edwin Yeo wrote: > I'm currently facing the issue whereby the Solr crashed when I have > issued too many queries with error or those with high memory usage, > like JSON facet or Streaming expressions. > > What could be the issue here?
Solr does not have any auto-limiting of the number of concurrent requests. You will have to build that yourself (quite hard) or impose a hard limit in your request layer that is low enough to guarantee that you don't run out of memory in Solr. You could raise the amount of memory allocated for Solr, but even then you might want to have a hard limit, just to avoid the occasional "cat steps on F5 and the browser issues a gazillion requests"-scenario. -- Toke Eskildsen, Royal Danish Library