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.
Various resources like images or resourcebundles are assigned to static variables in this module. It reduces possibility to effectively manage memory - once these classes are initialized the data cannot be GC'ed. It is better to use existing API that support caching to allow fast access but also make it possible to reclaim memory. org/netbeans/modules/xml/wsdl/model/extensions/soap/validation/SOAPComponentValidator.class in /opt/devel/nb/nb_all/nbbuild/netbeans/ide8/modules/org-netbeans-modules-xml-wsdl-model.jar
which existing API you are talking about which supports caching? Is it NBBundle?
Both NbBundle and IconManager (Utilities.loadImage) have smart caches built in.
Ok we will fix this.
This is now fixed in nb6.0
Created attachment 39083 [details] diff
reviewed the code changes. looks good.
however I apreciate that you take care about this I do not see strong enough reason to backport this to 5.5.1. It is in highresistance mode so P4 bugs are not fixed there at this moment. So once again thanks for fixing and keep things easy and limit number of changes in branches that are close to complete freeze.
Ok sounds good. This fixed in nb6.0 only.
updating TM