[ 
https://issues.apache.org/jira/browse/OAK-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610524#comment-14610524
 ] 

Alex Parvulescu commented on OAK-2845:
--------------------------------------

merged to 1.2 with r1688674

> 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
>
>
> {{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)

Reply via email to