tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <>
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
> Could anyone please update me on the current status of handling this

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"


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message