This may be double posted now-but I can’t get to the original post.
I am having a Java Heap Space error
java.lang.OutOfMemoryError: Java heap space.
My heap space is 64mb. My version is 3.2.4. I’m not updated to 3.3 yet. This may be problematic so I can’t do it yet.
I’m sure this is a pretty basic question any help would be greatly appreciated.
Hello,
I know how to increase the heap on Openfire for Linux. Maybe someone else can help you if you’re using Windows.
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" (…)
William.
That’s similar to the windows version. The documents finally loaded and searched-they were wonky this morn.
I found out how to do it on openfire as a service-but not as an app. That was odd. However I’ll be upgrading to openfire tomorrow so problem solved.
Thanks for the attempted help wv.