Just verifying that it is also recommended to use the JVM options to kill on OOM? I vaguely recall a message from Mark about this sometime ago:
-XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError On Wed, Apr 24, 2013 at 9:13 AM, Mark Miller <markrmil...@gmail.com> wrote: > > On Apr 24, 2013, at 4:02 AM, Furkan KAMACI <furkankam...@gmail.com> wrote: > >> Lucidworks Solr Guide says that: >> >> "If you are using Sun's JVM, add the -server command-line option when you >> start Solr. This tells the JVM that it should optimize for a long running, >> server process. If the Java runtime on your system is a JRE, rather than a >> full JDK distribution (including javac and other development tools), then >> it is possible that it may not support the -server JVM option" >> >> Does any folks using -server parameter? Also what parameters you are using >> to start up Solr? I mean parallel garbage collector vs.? > > Unless you are using 32-bit Windows, you are probably getting the server JVM. > It's not a bad idea to use -server to be sure - it's certainly preferable to > -client for Solr. > > You should generally use the concurrent low pause garbage collector with Solr. > > - Mark >