Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3380

Reduce memory footprint of JcrResourceListener

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.2.8
    • JCR Resource 2.3.2
    • JCR
    • None

    Description

      JcrResourceListener.onEvent(EventIterator) keeps references to all Event instances in the passed iterator. This has turned out as a memory bottleneck e.g. in the scenario where a large sub-tree is copied and NODE_ADDED events for all nodes in that sub-tree are generated.

      Furthermore Oak will be able to handle arbitrarily large transactions (Session.save). In such cases the EventIterator might contains millions of events.

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: