[jboss-jira] [JBoss JIRA] (AS7-3562) Memory leak with JSF
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Wed Feb 1 23:13:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663605#comment-12663605 ]
Stuart Douglas commented on AS7-3562:
-------------------------------------
I can't run this app. Can you please attach a simple .war file that I just just drop in and try out, not a rar archive with various bits of the app scattered through it.
> Memory leak with JSF
> --------------------
>
> Key: AS7-3562
> URL: https://issues.jboss.org/browse/AS7-3562
> Project: Application Server 7
> Issue Type: Bug
> Components: Server
> Affects Versions: 7.1.0.CR1b
> Environment: CentOS, JDK 1.6
> Reporter: Igor Kolpakov
> Assignee: Jason Greene
> Priority: Critical
> Fix For: 7.1.0.Final
>
> Attachments: context.xml, faces-config.xml, heapdump-nb-20120202_002436.part1.rar, heapdump-nb-20120202_002436.part2.rar, histo3659, jboss-deployment-structure.xml, jboss-web.xml, jbossjta-properties.xml, services-app.xml, services-servlet.xml, testapp.rar, testapp_war.war, web.xml
>
>
> Hello,
>
> we use JSF 1.2 / Richfaces 3.3.1 GA / Spring 3.0.5.
> After migrating from JBoss 5.1.0 to JBoss 7.0.2 and after to JBoss 7.1 we are experiencing huge memory problems - while working with JSF / Richfaces.
> Number of org.jobss.invocation.Interceptor, ChainedInterceptor are constantly growing and not collected by GC.
>
> Class IMemory, kb % of memory Instances % of instances Source
> java.util.Arrays$ArrayList 170 423 19 7 271 391 25
> java.lang.Object[] 162 592 18 565 385 1
> org.jboss.invocation.Interceptor[] 114 581 13 7 269 673 25 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
> org.jboss.invocation.ChainedInterceptor 112 926 12 7 227 327 25 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
>
> Most of Object[] and ArrayList[] are used for storing Interceptors (as profiler show for hdump).
>
> after 5 minutes:
>
> java.lang.Object[] 314 000 20 2 225 906 4
> java.util.Arrays$ArrayList 244 861 15 10 447 443 20
> org.jboss.invocation.Interceptor[] 164 467 10 10 434 891 20 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
> org.jboss.invocation.ChainedInterceptor 162 096 10 10 374 188 20 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
>
> after 4 hours:
>
> org.jboss.invocation.Interceptor[] 471 515 16 29 911 864 29 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
> org.jboss.invocation.ChainedInterceptor 464 587 15 29 733 573 28 jar:file:/home/jbosser/jboss-as-7.1.0.CR1b/modules/org/jboss/invocation/main/jboss-invocation-1.1.1.Final.jar!/
> java.util.Arrays$ArrayList 701 093 23 29 913 314 29
> java.lang.Object[] 587 660 20 876 557 0
>
> Spring is located in separate module, jsf libraries are used through dependencies.
> Application is deployed as single WAR.
> WEB-INF\lib:
> darkX-3.3.1.GA.jar
> javamelody-1.33.0.jar
> jrobin-1.5.9.jar
> jstl-1.2.jar
> richfaces-api-3.3.1.GA.jar
> richfaces-impl-3.3.1.GA.jar
> richfaces-ui-3.3.1.GA.jar
>
> Thanks in advance for any suggestions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list