openfire und der java heap space

wenn der openfire jabber server mal nicht mehr mag und im logfile oder webfrontend diese meldung spuckt:

java.lang.OutOfMemoryError: Java heap space.

dann muss der heap space einfach mal vergroessert werden. eine loesung habe ich gefunden:

Open the server script (/bin/openfire) in a text editor.

Search for a line starting with:

nohup “$app_java_home/bin/java” -server -Dinstall4j.jvmDir=”$app_java_home” (……)

Add the parameter -Xmx512m to increase the heap size (512 MB in this example). Like this:

nohup “$app_java_home/bin/java” -Xmx512m -server -Dinstall4j.jvmDir=”$app_java_home” (…..)

bloss was ist eine vernuenftige groesse? darauf suche ich noch eine antwort…

Author: sd

Leave a Reply

Your email address will not be published. Required fields are marked *