Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jan 2012 19:07:59 +0200
From:      Kaya Saman <kayasaman@gmail.com>
To:        ports@freebsd.org
Subject:   Re: Java Heap Space out of memory error Tomcat6 port
Message-ID:  <4F0335EF.30103@gmail.com>
In-Reply-To: <CANcjpOAyngNCUymHOLt0Jf5ihXC=acPOJ_ZQwPow=5eMTHjXrw@mail.gmail.com>
References:  <4F0303DE.5030101@gmail.com> <CANcjpOAyngNCUymHOLt0Jf5ihXC=acPOJ_ZQwPow=5eMTHjXrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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+?


Kaya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0335EF.30103>