Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6632

Memory leak due to literal keys in WSDLDefinition map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.17
    • 2.7.18, 3.0.7, 3.1.4
    • Core
    • None

    Description

      Looks like the definitionsMap in WSDLManagerImpl holds the WSDLDefinitions against a weak key, again relying
      on the WeakHashMap semantics for removal.

      The loadDefinition(String) method loads the WSDLDef and puts this in a map
      against a String key even if it was passed as a URL through getDefinition(URL).

      Like the https://issues.apache.org/jira/browse/CXF-1639 this causes a memory leak.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              Gio Giovanni Borelli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: