You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Philip Luppens (Commented) (JIRA)" <ji...@apache.org> on 2011/11/11 10:26:53 UTC

[jira] [Commented] (WW-3702) struts2-cdi-plugin - memory never garbage colleted

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

Philip Luppens commented on WW-3702:
------------------------------------

Just one thing: in the sample code you've sent, you have the devmode=true setting. Can you confirm that the same memory leak happens when devmode if off?
                
> struts2-cdi-plugin - memory never garbage colleted
> --------------------------------------------------
>
>                 Key: WW-3702
>                 URL: https://issues.apache.org/jira/browse/WW-3702
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.1, 2.2.1.1, 2.2.3, 2.2.3.1
>         Environment: It happens regardless on Linux and Windows OS
> Proble encountered on both Glassfish 3.0.1 and Glassfish 3.1.1
> The JDK used is jdk1.6.0_24
>            Reporter: Marco Malavolta
>         Attachments: struts2-cdi-example.7z
>
>
> Every action execution that contains injected classes consume a small amout of memory that after a while is stored in old-gen. This memory is never released after garbage collection.
> After a few days / week, depending on usage, my applications based on struts2 + struts2-cdi-plugin are no more responsive.
> This forces me to restart the web server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira