tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53081] WebappClassLoader causes java.lang.OutOfMemoryError in findResourceInternal()
Date Tue, 29 May 2012 13:15:44 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <> ---
As far as I can tell, the full resource has always been cached going back to
the original implementation of the WebappClassLoader back in Tomcat 4.

This has been fixed in trunk and 7.0.x so the only things cached are a) classes
(only temporarily until they are defined) and b) properties files needing
encoding conversion. Note that the class loading code has been fragile in the
past and it is possible that the fix may introduce a regression. If this is the
case, it is likely the fix will be reverted and the advice will then be "don't
load large static resources this way".

Assuming no problems emerge during testing, the fix will be in 7.0.28 onwards.

You are receiving this mail because:
You are the assignee for the bug.

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

View raw message