Java Heap Space out of memory error Tomcat6 port

Kaya Saman kayasaman at
Tue Jan 3 17:08:09 UTC 2012

On 01/03/2012 06:49 PM, George Liaskos wrote:
> tomcat55_java_opts="-Djava.awt.headless=true -Dfile.encoding=UTF-8
> -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m
> -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"

Thanks for that!

I copied and pasted the java_opts of yours into my rc.conf and changed 
the tomcat55 to tomcat6 then restarted.

Everything was fine until I tried to delete a photo album from within 
the wiki. It unfortunately gave me the same error again??

I'm not sure if I should increase the -Xms and Xmx to 2048m+?


More information about the freebsd-ports mailing list