Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5137

Reading compressed or encrypted entries fails to close the InflaterInputStream

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0, 6.0.0, 5.5.0, 4.0.0
    • Fix Version/s: 6.5.0
    • Component/s: backends
    • Labels:
    • Epic Link:
    • Story Points:
      1
    • Support Ticket IDs:

      Description

      Inspection of a 32GB heap dump showed DS had 18 million java.util.zip.Inflater objects in the heap using a total of just over 1 GB of memory. The system was under load, and the JVM eventually ran out of heap.

      The customer is using compressed entries in their backend.

      It appears that the decodeV2 method does not correctly close the InflaterInputStream or any other InputStream objects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                cjr Chris Ridd
                QA Assignee:
                Viktor Nawrath
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: