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

Brian Kates (JIRA) jira-events at lists.jboss.org
Tue Oct 28 09:51:23 EDT 2008


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

Brian Kates commented on RF-3878:
---------------------------------

In my version of RichFaces, I don't have a numberOfViews variable, but I do have a getNumberOfViews method.  The method is:

protected int getNumberOfViews(ExternalContext externalContext) {
	return DEFAULT_NUMBER_OF_VIEWS;
}

It returns a hard coded constant.  I'm using MyFaces 1.2.4 and RichFaces 3.1.4

protected static final int DEFAULT_NUMBER_OF_VIEWS = 16;

Thanks.

> 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