You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2014/02/19 14:54:20 UTC

[jira] [Resolved] (SLING-3380) Reduce memory footprint of JcrResourceListener

     [ https://issues.apache.org/jira/browse/SLING-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved SLING-3380.
----------------------------------

    Resolution: Fixed

This fixes my immediate issue at hand. Thus resolving accordingly. 

> Reduce memory footprint of JcrResourceListener
> ----------------------------------------------
>
>                 Key: SLING-3380
>                 URL: https://issues.apache.org/jira/browse/SLING-3380
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.2.8
>            Reporter: Michael Dürig
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.3.2
>
>
> 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)