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 org.apache.xerces.dom.AttrImpl class has a static field 'textNode' that appears to cause a designer memory leak. The source of this problem is detailed here in an apache bug report (http://issues.apache.org/jira/browse/XERCESJ-1248). Even though this is not under our control, a workaround or some way to mitigate the issue might be possible.
Trying to hack that problem in the subclass. If that works I'll put it in, but it might not work over the other releases. The real fix needs to happen in Xerces impl (or to use different impl).
Fixed. It needs to be checked whether it works fine (memory leak), and whether it doesn't harm performance otherwise (the speed). Checking in visualweb/designer/markup/src/org/netbeans/modules/visualweb/designer/markup/AbstractRaveDocument.java; /cvs/visualweb/designer/markup/src/org/netbeans/modules/visualweb/designer/markup/AbstractRaveDocument.java,v <-- AbstractRaveDocument.java new revision: 1.10; previous revision: 1.9 done
Verified that the memory leak no longer occurs on 070612.
Looks like Quy verified.