Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4978

Features Subsystem leaks native memory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.9, 4.1.1
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.karaf.features.internal.region.Subsystem.getMetadata(StreamProvider) leaks java native memory because it creates a ZipInputStream it doesnt close, which leaves the Inflater open.
      This leaks native memory:
      http://www.evanjones.ca/java-native-leak-bug.html

      the fix is to close the ZipInputStream instead of only the InputStream

        Attachments

          Activity

            People

            • Assignee:
              fabianlange Fabian Lange
              Reporter:
              fabianlange Fabian Lange
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: