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

Mauricio Fenoglio (JIRA) jira-events at lists.jboss.org
Thu Sep 20 12:41:34 EDT 2012


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

Mauricio Fenoglio commented on AS7-5586:
----------------------------------------

Hi,
About "Nor are running @PreDestroy" In the example the preDestroy is not fired. 

import javax.annotation.PreDestroy;

@PreDestroy
public void cleanUp(){
    System.err.println("Aca esta el destructor->ViewScoped");
}

Do you have a example where preDestroy is firing? If you upload it I will check the memory.


I tried with 2.1.12 and the same problems ...

                
> 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: TestingJSFMemoryLeak-1.0-SNAPSHOT.war
>
>
> All JSF ManagedBean are not destroyed and generate a great memory problem.
> This happen for session and 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