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

Features Subsystem leaks native memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 4.0.9, 4.1.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: