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.
Component-related instances in the com.sun.webui.jsf.* packages accumulate in the FactoryFinder.applicationMaps table. Some other objects from jsfsupport (RaveServletContext, RaveRenderKit, DesigntimeViewHandler, etc.) leak as well. To reproduce: * Close the navigator and ensure that the Outline does not appear 1) Create a vw project 2) Drop a component onto the page 3) Clean-build 4) Close the project 5) Repeat steps 1-5 as needed 6) Open/close the properties window (avoid a separate memory leak) Every time steps 1-4 are executed, the number of objects in the static FactoryFinder map increases. The objects appear to never get removed from the map.
The FactoryFinder is part of JSF RI Implementations. I noticed the method FactoryFinder.releaseFactories(). Probably we should try that at FacesContainer.destroy() method and see if the applicationMaps are released.
Quy, This issue seems to be a duplicate of 125081. If you agree, can you close this please ? thanks
The memory leak here may cause a leak of classloader objects (from Issue 125081) but it is a separate issue.
Now calling FactoryFinder.releaseFactories() to release the factories at FacesContainer.destroy()