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

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -