Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1812

Memory use is very high in J2EE cluster with session replication (Weblogic) when using pageflowscope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Critical
    • Resolution: Unresolved
    • 1.2.7-core
    • None
    • Components
    • None
    • Weblogic 10 and all versions forward.

    Description

      In a Weblogic cluster with session replication the memory use (the size of the web session) is much higher on the server that has a copy of the session then on the primary server.

      The problem is related to multiple session attributes that have references to the same shared object in Trinidad. This design has a negative side effect with Weblogic because of the transitive closure ff session attributes. The shared object (and the object graph below it) is copied for each attribute.

      I have created a simple guide with a modified example of the demo application from Trinidad that shows the problem.

      Attachments

        1. trinidad_demo_1.2.13_sources.jar
          137 kB
          Nicolai Marck Ødum
        2. trinidad_demo_1.2.13.war
          8.47 MB
          Nicolai Marck Ødum

        Issue Links

          Activity

            People

              Unassigned Unassigned
              webmarck Nicolai Marck Ødum
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: