opensearchserver icon indicating copy to clipboard operation
opensearchserver copied to clipboard

Exception in thread "http-bio-9090-exec-2" java.lang.OutOfMemoryError: GC overhead limit exceeded

Open zopyx opened this issue 9 years ago • 4 comments

How can I get around this problem?

zopyx avatar May 08 '16 08:05 zopyx

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

emmanuel-keller avatar May 08 '16 10:05 emmanuel-keller

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.

zopyx avatar May 08 '16 11:05 zopyx

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.

emmanuel-keller avatar May 08 '16 11:05 emmanuel-keller

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

zopyx avatar May 08 '16 11:05 zopyx