[jboss-jira] [JBoss JIRA] (AS7-5586) Memory leak with JSF ManagedBean

Stan Silvert (JIRA) jira-events at lists.jboss.org
Thu Sep 20 14:20:34 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720383#comment-12720383 ] 

Stan Silvert commented on AS7-5586:
-----------------------------------

Are you sure that the view is destroyed?  @PreDestroy is called for view scoped beans when the view is destroyed.  View scope is destroyed when the session is destroyed or when the view limit is exceeded.

See these jiras:
http://java.net/jira/browse/JAVASERVERFACES-1351
http://java.net/jira/browse/JAVASERVERFACES-1839

Try setting your session timeout to 1 minute and see if that works.
                
> Memory leak with JSF ManagedBean
> --------------------------------
>
>                 Key: AS7-5586
>                 URL: https://issues.jboss.org/browse/AS7-5586
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 7.1.1.Final, 7.1.2.Final (EAP)
>         Environment: Initializing Mojarra 2.1.7-jbossorg-2 (20120412-0335) and all native Jboss JSF impl
>            Reporter: Mauricio Fenoglio
>            Assignee: Stan Silvert
>              Labels: jsf2, jsf21, memoryleak
>         Attachments: InjectionTest.jar, InjectionTest.war, InjectionTest.war, InjectionTestV2.jar, TestingJSFMemoryLeak-1.0-SNAPSHOT.war
>
>
> All JSF ManagedBean are not destroyed and generate a great memory problem.
> This happen for View Scopes
> Nor are running @PreDestroy
> It is not possible to have production environments with jsf, so it is a blocker issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list