Michael Dürig created SLING-3380:
------------------------------------

             Summary: Reduce memory footprint of
                 Key: SLING-3380
                 URL: https://issues.apache.org/jira/browse/SLING-3380
             Project: Sling
          Issue Type: Improvement
          Components: JCR
            Reporter: Michael Dürig


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to