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.
There are *BeanInfo classes which uses static images and even static initializers holding the BIs data. This is considered a memory leak in this context. For loading images, use org.openide.util.Utilities.loadImage directly in getImage without any caching (Utilities will do SoftCaching for you). Create BeanDeascriptor and PropertyDescriptors just on demand without any caching, Introspector will cache it itself. The sources to modify which I know of: TomcatDataLoaderBeanInfo.java DWEditorSettingsBeanInfo.java ServletSettingsBeanInfo.java JspLoaderBeanInfo.java JspServletDataLoaderBeanInfo.java ServletDataLoaderBeanInfo.java DelegatingFileSystemBeanInfo.java WebClassesLoaderBeanInfo.java WebContextLoaderBeanInfo.java Please also remove the static image from: WebInfObject.java You can look at beaninfos in org.netbeans.beaninfo for an example.
Also don't use static bundles.
assigned
Done except DWEditorSettingsBeanInfo.java (unmaintained code)
x
Please remove also static images from modules/web/context/WebAppLoaderBeanInfo.java
updated WebAppLoaderBeanInfo
OK, thanks.
Resolved for 3.4.x or earlier, no new info since then -> closing.