Uploaded image for project: 'Commons Modeler'
  1. Commons Modeler
  2. MODELER-15

[modeler] IntrospectionUtils memory leak

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      36559

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mchyzer@yahoo.com Chris
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: