SOLR Exception in thread "Scanner-0" java.lang.OutOfMemoryError: Java heap space -
solr gets hang , when check stderrout.log of jetty error:
exception in thread "scanner-0" java.lang.outofmemoryerror: java heap space
found ,
increase heap size of java:
you use java -xmx4096m in order set heap 4 gb.
you add export _java_options=-xmx4096m shell (.bashrc, .zshrc) file.
https://askubuntu.com/questions/542585/how-to-increase-java-heap-size
Comments
Post a Comment