This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The RaveFacesContext instance is not released from memory after a visual web project is closed. This causes a significant amount of model objects to leak in memory. To reproduce: 1) Create a vw project 2) Close the navigator (suppresses another leak) 3) DnD some components onto the page 4) Close the page and the project 5) Open/close the properties window (suppresses another leak) Many of the visualweb model objects are still in memory, held by the RaveFacesContext instance.
Fixed. Checking in FacesContainer.java; /cvs/visualweb/jsfsupport/src/org/netbeans/modules/visualweb/jsfsupport/container/FacesContainer.java,v <-- FacesContainer.java new revision: 1.8; previous revision: 1.7 done
The fix for this issue was reverted in Issue 125965. Another solution is needed.
designer/jsf now calls UIComponent.rendersChildren() via InSyncServiceProvider -> FacesContainer.isComponentRendersChildren(), which correctly sets the FacesContext first. Therefore, reverting the fix for the memory leak again.