tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Leg <>
Subject Re: Heap size - java.lang.OutOfMemoryError
Date Sat, 26 Feb 2005 10:54:30 GMT
Hi Rasmus

Switch to Linux 8-)

Unfortunatly, I have no idea but joke. I realy think that this problem 
is OS dependent.

Are you sure that your environment variables are taken in count ?

Suppose you run tomcat using some startup.bat ? in this case may be 
could you print some debug telling you the real args passed to the JVM.

I have done this on linux using set -x in, I don't remember 
the equivalent for bat.
I think you can just change the first line echo off by echo on. May be ????

At that time I had seen that for any reason my env was crashed somewhere.


Rasmus - Camp Online wrote:

>I keep getting a  java.lang.OutOfMemoryError in my tomcat-log. I am
>pretty sure it relates to the size of my heap - I keep getting the error
>when the tomcat.exe process reaches approx. 118 MB of memory usage.
>I am running Windows Server 2003, IIS 6, Tomcat 4.1 (running as a
>windows service)
>I have tried everything to increase the heap size, setting the
>environment variables:
>-CATALINA_OPTS -Xms256m -Xmx768m
>-JAVA_OPTS -Xms256m -Xmx768m
>-TOMCAT_OPTS -Xms256m -Xmx768m
>But no matter what I do, it has ABSOLUTELY NO EFFECT
>Please help, as I am going crazy over this....
>Best regards,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message