commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MODELER-15) [modeler] IntrospectionUtils memory leak
Date Mon, 05 Jun 2006 00:54:30 GMT
    [ http://issues.apache.org/jira/browse/MODELER-15?page=comments#action_12414675 ] 

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: http://issues.apache.org/jira/browse/MODELER-15
>      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:
> http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?
> pageId=2669 
> Thanks!
> Chris

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message