tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <rmauch...@home.com>
Subject Re: serious problem with Tomcat JVM running out of memory
Date Sat, 03 Nov 2001 18:05:42 GMT
> We are facing serious problems with the above problem when running jsp on
tomcat/linux.
> Could anyone please update me on the current status of handling this
problem.

If your application has lots of JSPs which need to get compiled, the VM may
run out of memory because javac leaks memory each time it compiles a page.
There's an article about the problem in the release notes for 4.0.1, but it
exists in all Tomcat versions.

If your application doesn't use many JSPs, then I have no explanation, as
Tomcat has no known memory leaks.

To get around this, you can either:
- precompile the JSPs
- stop and restart Tomcat when it starts to happen; after a while, all the
JSPs will get compiled
- join the crusade to open-source the JDK, so that we're able to fix that
kind of "feature"

Remy


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message