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

[modeler] IntrospectionUtils memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • None
    • Operating System: other
      Platform: Other

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: