Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5305

NRTIndex link to previous index leads to memory leak

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.11
    • Fix Version/s: 1.5.16, 1.6.0
    • Component/s: lucene
    • Labels:
      None

      Description

      NRTIndexFactory ensures that at max 3 NRTIndex instance are present. However as NRTIndex keeps a reference to previous index closed instances are still referenced and accumulate over a period of time.

      As a fix NRTIndex should null the previous reference upon close as it would not be accessed post close.

        Attachments

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: