opensearchserver
opensearchserver copied to clipboard
Exception in thread "http-bio-9090-exec-2" java.lang.OutOfMemoryError: GC overhead limit exceeded
How can I get around this problem?
This is a memory issue. You should increase the allocated memory in the configuration file:
/etc/opensearchserver
Some hints about that: http://www.opensearchserver.com/documentation/faq/installation/out_of_memory_issue.md
Your answer is not consistent with
http://www.opensearchserver.com/documentation/installation/linux.md
So I updated my start.sh to
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8 -d64 -Xms6G -Xmx6G -server"
but no luck.
I am afraid we have to update this page. We suggest to use "Java 6 Virtual Machine". Which version of Java are you using ? On our testing environments we mainly use Java7 and Java8.
java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
2016-05-08 13:17 GMT+02:00 Emmanuel Keller [email protected]:
I am afraid we have to update this page. We suggest to use "Java 6 Virtual Machine". Which version of Java are you using ? On our testing environments we mainly use Java7 and Java8.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/jaeksoft/opensearchserver/issues/1778#issuecomment-217710137