Issue Details (XML | Word | Printable)

Key: MODELER-15
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Chris
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Modeler

[modeler] IntrospectionUtils memory leak

Created: 08/Sep/05 10:32 PM   Updated: 15/Feb/07 09:39 AM
Return to search
Component/s: None
Affects Version/s: 1.1
Fix Version/s: 2.0

Time Tracking:
Not Specified

Environment:
Operating System: other
Platform: Other

Bugzilla Id: 36559
Resolution Date: 13/Jul/06 10:11 AM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Henri Yandell made changes - 16/May/06 10:00 AM
Field Original Value New Value
issue.field.bugzillaimportkey 36559 12342542
Henri Yandell made changes - 16/May/06 11:47 AM
Affects Version/s unspecified [ 12311647 ]
Key COM-2390 MODELER-15
Project Commons [ 12310458 ] Commons Modeler [ 12310486 ]
Component/s Modeler [ 12311126 ]
Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
Henri Yandell made changes - 12/Jul/06 12:09 PM
Affects Version/s 1.1 [ 12311849 ]
Fix Version/s 1.1.1 [ 12311739 ]
Henri Yandell made changes - 13/Jul/06 10:11 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Henri Yandell made changes - 15/Feb/07 09:39 AM
Status Resolved [ 5 ] Closed [ 6 ]