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.
... because of the parseSupports HashMap. To reproduce just open a JSP file in the editor and close the project -- it will never be garbage-collected.
Fixed in release55_dev. http://www.netbeans.org/source/browse/web/jspparser/extsrc/org/netbeans/modules/web/jspparser_ext/WebAppParseSupport.java?r1=1.1.12.1.2.7.2.1&r2=1.1.12.1.2.7.2.2 http://www.netbeans.org/source/browse/web/jspparser/src/org/netbeans/modules/web/jspparser/JspParserImpl.java?r1=1.27.12.2.2.3&r2=1.27.12.2.2.3.14.1 http://www.netbeans.org/source/browse/web/jspparser/src/org/netbeans/modules/web/jspparser/ParserServletContext.java?r1=1.6.128.2&r2=1.6.128.2.14.1
Removing forgotten debugging code. http://www.netbeans.org/source/browse/web/jspparser/src/org/netbeans/modules/web/jspparser/JspParserImpl.java?r1=1.27.12.2.2.3.14.1&r2=1.27.12.2.2.3.14.2
Removing previous fix. Both WebAppParseSupport instances and JspParserAPI.WebModule implementations were not held strongly and could be GCd at any time. http://www.netbeans.org/source/browse/web/jspparser/extsrc/org/netbeans/modules/web/jspparser_ext/WebAppParseSupport.java?r1=1.1.12.1.2.7.2.2&r2=1.1.12.1.2.7.2.3 http://www.netbeans.org/source/browse/web/jspparser/src/org/netbeans/modules/web/jspparser/JspParserImpl.java?r1=1.27.12.2.2.3.14.2&r2=1.27.12.2.2.3.14.3 http://www.netbeans.org/source/browse/web/jspparser/src/org/netbeans/modules/web/jspparser/ParserServletContext.java?r1=1.6.128.2.14.1&r2=1.6.128.2.14.2
Can anybody verify this fix?
is it possible to mark this issue as invalid?
This is not invalid, this is still an issue, but downgrading to P3 per team agreement.
Reassigning to subcomponent owner.
Regardless of priority of this issue we should try to do something with it ASAP as it has all sorts of side effects because it prevents closed project(s) from being GCed.
*** Issue 125079 has been marked as a duplicate of this issue. ***
Fixed. changeset: 69670:447f86f2156b user: Tomas Mysik <tmysik@netbeans.org> date: Tue Feb 26 14:55:07 2008 +0100 summary: #85817: JspParserImpl causes the web projects to leak
Seems to works ok. Changing to verified.