It depends on how you installed Tomcat. If you used the OpenBD Installer or the Tomcat installer, you can control the amount of memory using the Tomcat service control.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions

On 07/20/2010 11:24 AM, tom thomas wrote:
I guess I should have said this is on a win2003 server. Would that mean
the file extension should be the .bat?

Thanks,
Tom Thomas

At 02:10 PM 7/20/2010, you wrote:
Place a setenv.sh or .bat file in the bin directory of Tomcat and set
the JavaOpts like:

JAVA_OPTS="$JAVA_OPTS -server -Xss512k -Xms512m -Xmx1G
-XX:NewSize=512m -Djava.awt.headless=true
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:SurvivorRatio=4"

export JAVA_OPTS

This will give you almost the same settings as the Adobe CF one.

Nitai

On Tue, Jul 20, 2010 at 8:07 PM, tom thomas <[email protected]> wrote:
> I have apache/tomcat installation with openbd. I am getting this error
>
> java.lang.OutOfMemoryError: Java heap space
>
> I remember reading one time that there is an xml file that can be
edited to
> increase heap space. Where would that file be located?
>
> Thanks,
> Tom Thomas

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
online manual: http://www.openbluedragon.org/manual/

mailing list - http://groups.google.com/group/openbd?hl=en

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
online manual: http://www.openbluedragon.org/manual/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to