[
https://issues.apache.org/jira/browse/OAK-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999772#comment-13999772
]
Michael Dürig commented on OAK-1833:
------------------------------------
The problem was probably introduced with OAK-1418, which added a reference to
{{SessionDelegate}} from {{SessionStats}}. As the MBean implemented by the
latter is only unregistered a minute after a session has been logged out
(OAK-941) that reference makes it impossible for the garbage collector to
reclaim memory allocated to various session related entities.
> Logging in and out many sessions leads to high memory consumption
> ------------------------------------------------------------------
>
> Key: OAK-1833
> URL: https://issues.apache.org/jira/browse/OAK-1833
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Michael Dürig
> Assignee: Michael Dürig
>
> See http://markmail.org/message/b65g2suyhhbhnefw for the report and
> {{org.apache.jackrabbit.oak.benchmark.LoginLogoutUserTest}} demonstrating the
> issue. Running that benchmark with 128M heap leads to memory pressure and the
> test performing an order of magnitude worse than when running with 1G.
--
This message was sent by Atlassian JIRA
(v6.2#6252)