You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jake Alley <ja...@hotmail.com> on 2004/02/08 15:23:10 UTC
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat 5.0.16 running out of resources
Posted by Josh Rehman <jr...@citysearch.com>.
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat 5.0.16 running out of resources
Posted by David Strupl <da...@solutions.cz>.
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org