I know that when using tomcat (and jboss for that matter) when redeploying a webapp, the container would eat up a little bit of memory with each redeployment. While developing/testing i would deploy a war many many times. Eventually, tomcat will throw an OutOfMemory exception durring execution of an action or upon another deployment. The JVM just ran out of memory. As a bandaid, i increased the jvm stack size. On production servers i don't have this trouble because i don't deploy that frequently.

That is really the only time i've received an OutOfMemory exception in tomcat.

Hope that might help.

cheers
eric

Wayland Chan wrote:

If you check the machine it's running on, is it really out of memory?

Can you check to see how much memory is being used by Tomcat before the JSP is compiled/accessed?

Just curious but how big is your JSP? It's not the mother of all pages is it? ;)

Does it happen on other servlet containers or just Tomcat?




Hi

I don't think that problem is related with ww2, but I just received an error message as follows


org.apache.jasper.JasperException: Unable to compile class for JSP


An error occurred at line: -1 in the jsp file: null

Generated servlet error:
   [javac] Compiling 1 source file



The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
How to deal with that and where to look for solutions. Can it be somehow related with javac memory leak?


Regars Remis









Wayland Chan email: wchanATtrekspaceDOTcom

----------------------------------------------------------
Get your free email account from http://www.trekspace.com
         Your Internet Virtual Desktop!


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




--
Eric Webb
Programmer Analyst II
University of Southern California
University Park Health Center

Phone: (213) 821-2361
Fax:   (213) 740-1794
Email: [EMAIL PROTECTED]



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to