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

Incorrect memory calculation for bundled node states

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.4, 1.6.4, 1.8.0
    • Component/s: core, documentmk
    • Labels:
      None

      Description

      OAK-1312 introduced bundling of nodes into a document and enabled the feature for nt:file nodes. A DocumentNodeState of type nt:file now has an incorrect memory calculation because the node state references a BundlingContext which also references the binary property reference. Such a node state is now much heavier than before and can cause OOME.

      This is a clone of OAK-5226, which was supposed to fix the described issue, however it turns out the fix is not sufficient and memory calculation is still incorrect for bundled nodes/properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: