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

Michael Dürig commented on OAK-1833:
------------------------------------

At https://svn.apache.org/r1595186 I moved the session related counters back 
from {{SessionDelegate}} to {{SessionStats}} while at the same time trying to 
keep the optimisations introduced with OAK-1418. This allowed me to remove the 
problematic {{SessionDelegate}} reference in {{SessionStats}}. 

With this fix {{LoginLogoutUserTest}} reports:

{noformat}
# LoginLogoutUserTest              C     min     10%     50%     90%     max    
   N
Oak-Tar                            1     747     751     770     890    1092    
  77
{noformat}

in contrast to 

{noformat}
# LoginLogoutUserTest              C     min     10%     50%     90%     max    
   N
Oak-Tar                            1     880     881     918   26299   28039    
  11
{noformat}

before. 


> 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
>             Fix For: 1.1
>
>
> 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)

Reply via email to