Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.1.0.CR1b
    • Fix Version/s: 7.1.0.Final
    • Component/s: Server
    • Labels:
      None
    • Environment:

      CentOS, JDK 1.6

      Description

      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.

        Gliffy Diagrams

          Attachments

          1. context.xml
            0.2 kB
          2. faces-config.xml
            0.9 kB
          3. heapdump-nb-20120202_002436.part1.rar
            9.00 MB
          4. heapdump-nb-20120202_002436.part2.rar
            2.14 MB
          5. histo3659
            861 kB
          6. jboss-deployment-structure.xml
            0.8 kB
          7. jbossjta-properties.xml
            11 kB
          8. jbossweb.diff
            0.6 kB
          9. jboss-web.xml
            0.4 kB
          10. services-app.xml
            2 kB
          11. services-servlet.xml
            2 kB
          12. testapp_war.war
            8.03 MB
          13. testapp_war.war
            7.07 MB
          14. testapp.rar
            6.95 MB
          15. web.xml
            3 kB

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                igor12 Igor Kolpakov
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: