webtier@glassfish.java.net

Problem with ViewScoped Bean jsf2.0

From: Harsha Balusu <h.balusu_at_logit-one.com>
Date: Thu, 4 Sep 2014 05:23:53 +0000

Greetings,

      We are in the process of migration of our applications from seam to javaee6,jsf20 using jbossas7.1.1.final. We see a problem when we declare a UI bean with the ViewScoped annotation. Whenever we access the concerned page the objects are getting piled up in the memory and never being unreferenced/freeing up from the memory leading to outofmemory exception. When we try to use the sessionscope instead of Viewscope it works fine. But our requirement is to have the ViewScoped bean. Can you help us in the resolution of the problem.

Regards,
Harsha.