0 Replies Latest reply on Oct 22, 2013 4:10 AM by ajanz

    garbage collection on pagescoped bean with seam 2.2.1

    ajanz

      we still use seam 2.2.1

       

      we have a page scoped bean with a DataModel and a List<Data>.

       

      we looked at the memory consumption after a normal automated test.

       

      although no users are anymore logged in, the DataModel and List<Data> still remains in memory.

       

      is it a bad practice to store data in a pagescoped bean?

       

      in the web.xml we have set the following parameters

       

       

      <context-param>

      <param-name>com.sun.faces.numberOfViewsInSession</param-name>

      <param-value>1</param-value>

      </context-param>

      <context-param>

      <param-name>com.sun.faces.numberOfLogicalViews</param-name>

      <param-value>1</param-value>

      </context-param>

       

      any suggestions what to do?