commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker (JIRA)" <>
Subject [jira] Commented: (MODELER-15) [modeler] IntrospectionUtils memory leak
Date Mon, 05 Jun 2006 00:54:30 GMT
    [ ] 

Bill Barker commented on MODELER-15:

A method has been added to IntrospectionUtils to clear the cached methods (similar to the
one in the Tomcat class that this was stolen from :).  Of course, it won't have any effect
until the next release of Modeler, and after that when the Tomcat team decides to upgrade
to it.

However, this has already been fixed for Tomcat 6.x with an independent patch.

> [modeler] IntrospectionUtils memory leak
> ----------------------------------------
>          Key: MODELER-15
>          URL:
>      Project: Commons Modeler
>         Type: Bug

>  Environment: Operating System: other
> Platform: Other
>     Reporter: Chris

> When I reload my webapp, and I profile, I see Method objects in 
> IntrospectionUtils grow and grow (to the thousands of instances), and none of 
> my class Objects (or static references) get collected.
> This is in the objectsMethods HashTable.
> One suggestion: remove the caching
> or
> Another suggestion: add a method that clears it (or clears it for a certain 
> classloader), and make sure this method gets called from Tomcat when it 
> unloads a webapp (since I dont know how a webapp could call this method if 
> this class is loaded from the system classloader)
> More info:
> pageId=2669 
> Thanks!
> Chris

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message