[
https://issues.apache.org/jira/browse/SLING-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298385#comment-14298385
]
Konrad Windszus commented on SLING-3859:
----------------------------------------
The problem is basically that finalize defers the garbage collection. I opened
SLING-4372 about that which also has some hints about an alternative approach
with phantom references.
> ResourceResolver from JcrItemAdapterFactory is not closed
> ---------------------------------------------------------
>
> Key: SLING-3859
> URL: https://issues.apache.org/jira/browse/SLING-3859
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 2.3.6
> Reporter: Carsten Ziegeler
> Fix For: JCR Resource 2.4.2
>
>
> Whenever a node or property is adapted to something a new resource resolver
> is created with the same user session as the node is from. However, this
> resolver is never closed and therefore is a potential memory leak
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)