This content has been marked as final.
Show 1 reply
-
1. Re: JSF memory leak: heap view
javatwo May 29, 2011 9:35 AM (in response to javatwo)After setting the com.sun.faces.numberOfLogicalViews to 2, limit the number of view states to be saved.
<context-param>
<param-name>com.sun.faces.numberOfViewsInSession</param-name>
<param-value>2</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.numberOfLogicalViews</param-name>
<param-value>2</param-value>
</context-param>
What is the relationship between logical views and views? Actually what is logical views?
From VisualVM memory monitor, the heap keeps growing even without any http requests. why?
After perform GC, heap memory went down.
Thanks,
Dave