Summary: | DefaultServlet uses File.deleteOnExit() which is known to leak jvm native memory | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | quartz <quartz12h> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.5.20 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
quartz
2006-08-25 20:43:46 UTC
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817 for the Sun Java BugParade reference on this bug. Also updating version to latest 5.5, as the same code is still there (org.apache.catalina.servlets.DefaultServlet#executePartialPut, line 494). The method returns a handle to the file, so it's not a method-local fix. Actually, looking at the code a little further, the fix is simpler than I thought. I've just committed it to SVN after a bit of local testing, and it looks fine, but I'd like further testing. I'm going to ask on the dev list as well, but if you could test, that'd be great. |