[
https://issues.apache.org/jira/browse/OAK-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella updated OAK-2845:
----------------------------------
Fix Version/s: 1.4
> Memory leak in ObserverTracker#removedService
> ---------------------------------------------
>
> Key: OAK-2845
> URL: https://issues.apache.org/jira/browse/OAK-2845
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.3.0, 1.2.3, 1.4, 1.0.17
>
>
> {{ObserverTracker#removedService}} does not remove the unregistered service
> from the {{subscriptions}} it keeps internally.
> This is troublesome as the {{ChangeProcessor}} instances are tracked by
> {{ObserverTracker}}. When unregistering an observation listener the
> associated {{ChangeProcessor}} is disabled but not removed and thus not made
> available for gc. This in turn makes {{ChangeProcessor}} keep a reference to
> an old node state ({{previousRoot}}), which will render revision garbage
> collection ineffective.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)