DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36293>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36293

           Summary: Ability to free idle ClassLoader resources
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If you look inside WebappClassLoader, once a resource is loaded and a
ResourceEntry is allocated for it it is never freed. Now say a user references a
large image on my webapp once 10 hours ago, I'm stuck with that memory loss
indefinately. My website is very image oriented (a lot of large images) and it
is quite painful to keep those unused images around forever. I keep on running
into OutOfMemoryErrors.

We should be able to configure reasonable idle settings. For example, I'd like
for image resources to be freed if they've been idle for over 30 minutes.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to