Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1670

LazyCachedNode parent reference causes memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.CR2
    • 3.0.0.CR1
    • None
    • None

    Description

      The changes made for MODE-1613, seem to be causing a memory leak inside LazyCachedNode causing nodes from the workspace cache to not be collected by the GC.

      One possible explanation is the following: the parentReferenceToSelfParent is a CachedNode reference, which, in the case of a parent - child relationship, would cause the parent to still be referenceable even after being evicted/removed from the cache, as long as at least one of the referencing children is still cached.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: