[richfaces-issues] [JBoss JIRA] Commented: (RF-3878) Session memory leak

Jan Ziegler (JIRA) jira-events at lists.jboss.org
Tue Oct 28 09:44:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/RF-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12435725#action_12435725 ] 

Jan Ziegler commented on RF-3878:
---------------------------------

I think the parameter works for me, even with MyFaces (1.2.4). I debugged the AjaxStateManager in HttpSession with a heap profiler - there´s an int-Variable "numberOfViews" which has the size of 15 by default. After the setting this size of this variable is 2 (which is what i set) and the instance (after all the HttpSession) it is consuming less heap. 





> Session memory leak
> -------------------
>
>                 Key: RF-3878
>                 URL: https://jira.jboss.org/jira/browse/RF-3878
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0.SR1
>            Reporter: Dmitri Voronov
>            Assignee: Alexander Smirnov
>             Fix For: 3.3.0
>
>
> AjaxStateHolder saves all views in the session. But the same view can occur several times in this "cache"; the views from this "cache" are not reused and just fill the session. If an application has many large views and deals with many concurrent sessions, the heap can easily grow up to Gigabytes(!)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the richfaces-issues mailing list