Checked in a test case that indicates that the leak is not serious: only one extra object remains after
garbage collection and this may be due to the fact that ICEfaces maintains a request at all times.
svn commit . -m "test case for request scope beans not being garbage collected (ICE-556)"
Sending iraptor-webapp/conf/faces-config.xml
Adding iraptor-webapp/src/bug560
Adding iraptor-webapp/src/bug560/GarbageBean.java
Sending iraptor-webapp/src/bug560/TestBean.java
Adding iraptor-webapp/web/bug560.jsp
Transmitting file data ....
Committed revision 8698.
The way this test case works is with two beans, an application scope bean that counts instances and a
request scope bean that gets counted. The request scope bean increments the application scope bean
when it is initialized and decrements the application scope bean when it is finalized. After garbage
collection, only 1 instance of the request scope bean remains.
Does this test case capture the correct circumstance? Perhaps the original incident had a memory leak
within the application itself.
Deryk, please comment on whether this test case is missing some aspect of the original reported
configuration.
Need to create test case and investigate.