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

Memory leak due to literal keys in WSDLDefinition map

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.17
    • Fix Version/s: 2.7.18, 3.0.7, 3.1.4
    • Component/s: Core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: