On 5/27/2016 7:05 AM, Pablo Anzorena wrote: > I am using solr 5.2.1 in cloud mode. My jvm arguments for the > OutOfMemoryError is > -XX:OnOutOfMemoryError='/etc/init.d/solrcloud;restart' > > In the Solr UI, the event is beign fired, but nothing happens.
In all versions before 5.5.1, that -XX parameter is placed incorrectly on the commandline, in the bin/solr script, so it doesn't work. https://issues.apache.org/jira/browse/SOLR-8145 If you move the parameter so it comes before "-jar start.jar" on the commandline (see the newest patch attached to SOLR-8145) and restart Solr, it will fix this problem. Thanks, Shawn