cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Pesky memory problems (Tomcat/WindowsXP)
Date Fri, 19 Nov 2004 06:20:34 GMT

I have Tomcat started as a service under WindowsXP;
how would I be able to tell whether or not this is 
using catalina.bat ?


>>> 2004/11/18 04:38:02 PM >>>
Hi Derek

Derek Hohls wrote:

>I know there have been a number of threads on this topic; but
>I am obviously missing something, well, obvious!
>I have set the CATALINA_OPTS variable as follows:
>-Xms64m -Xmx256m  -Dfile.encoding=ISO-8859-1 
>-DproxySet=true -DproxyHost= -DproxyPort=3128
>Cocoon runs fine for a while, then the error message:
>----- Root Cause -----
>appears.  The memory monitor *appears* to show
>Tomcat using about 110M of memory... well within the
>256M limit I would have thought?
The same happende to me..
Depending on the system you run Tomcat on, setting CATALINA_OPTS can be

overrided by catalina.bat or . My last investigating about

this matter revealed different behaviours depending on the system.
In jakarta-tomcat-5.0.28, while under Windows you can add options in 
catalina.bat like this :
 set CATALINA_OPTS=-Xms256m -Xmx512m -server -Xdebug -Xnoagent 
under Linux seems to behave differently, i.e it seems to 
actually use CATALINA_OPTS  as it comes from environment variable (I'm

not a good reader of such messy scripts anyway).
I suggest you try to locate where your container is actually started
whether CATALINA_OPTS is redefined or used as it comes.

Good luck

To unsubscribe, e-mail: 
For additional commands, e-mail: 

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message