RE: tomcat 5.0.16 running out of resources

2004-02-09 Thread STOCKHOLM, Raymond
set your JAVA_OPTS accordingly to your needs in your startup.*

If you need 750 Mbytes, try this :
set JAVA_OPTS=-server -Xms750m -Xmx750m -XX:NewRatio=2

-Message d'origine-
De : Jake Alley [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 8 février 2004 15:23
À : [EMAIL PROTECTED]
Objet : tomcat 5.0.16 running out of resources


Hi, I'm running Tomcat 5.0.16 and I'm getting the following error 
peiiodically:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

It happens when certain jsp forms are compiled.  Is there a way to increase 
the amount of system resources?  Sometimes the server just stops working and 
leaves no log traces as well.  Could these be related?  This is with code 
that worked fine in version 4.

Thanks.

_
Optimize your Internet experience to the max with the new MSN Premium 
Internet Software. http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat 5.0.16 running out of resources

2004-02-08 Thread Josh Rehman
Sun's javac that comes with the 1.3 sdk leaks memory. This is a known 
issue. 1.4+ and jikes can fix it.

To my mind the (much) better way is to precompile your JSPs. Check out:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
This has the added benefit of avoiding that annoying stuttering when 
your application is first accessed.

HTH

Jake Alley wrote:

Hi, I'm running Tomcat 5.0.16 and I'm getting the following error 
peiiodically:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

It happens when certain jsp forms are compiled.  Is there a way to 
increase the amount of system resources?  Sometimes the server just 
stops working and leaves no log traces as well.  Could these be 
related?  This is with code that worked fine in version 4.

Thanks.

_
Optimize your Internet experience to the max with the new MSN Premium 
Internet Software. 
http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat 5.0.16 running out of resources

2004-02-08 Thread David Strupl
Hi,

also consider upgrading to 5.0.18 - there was a memory leak fixed in 
tomcat. You can search the archive of this conference to find more info.

Best,

David

Jake Alley wrote:
Hi, I'm running Tomcat 5.0.16 and I'm getting the following error 
peiiodically:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

It happens when certain jsp forms are compiled.  Is there a way to 
increase the amount of system resources?  Sometimes the server just 
stops working and leaves no log traces as well.  Could these be 
related?  This is with code that worked fine in version 4.

Thanks.

_
Optimize your Internet experience to the max with the new MSN Premium 
Internet Software. http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]