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

PersistentSearch heap usage grows

    Details

    • Epic Link:
    • Story Points:
      5
    • Support Ticket IDs:

      Description

      A heap dump taken of a large server under write load shows one PersistentSearch instance using a significant amount (2GB) of heap space (total heap size is 32GB.)

      Analysis with Eclipse MAT shows that psearch operation has a attachment key "reactive.out". The value for that key is a FlowableCreate.SerializedEmitter, and that has a consumerBuffer that is 2GB in size. The buffer contains an array of (many) SearchResultEntryImpl objects.

      It is unclear at present why the consumerBuffer is so large. A theory is that the psearch client has stopped reading, or is slow reading.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: