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]



Reply via email to