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.
Repeatedly redeploying web project leaves o.n.m.web.api.webmodule.WebModule (and other objects it refers to) in memory. See the screenshots of OptimizeIt window attached below. Steps to reproduce: 1) create or open web project 2) open project's jsp page 3) modify the jsp page 4) save and close the jsp page 5) run Redeploy Project in popup of the project 6) GO TO STEP 2) Each cycle of the process leaves 7 instances of WebModule class, held through 7 instances of JspParserAccess$WM registered as listeners (see the screenshot).
Created attachment 17193 [details] WebModule instance reference graph
I'll take a look at this.
cvs commit -m "48068 cache instance of WebModule" src\org\netbeans\modules\web\project\ProjectWebModuleProvider.java src\org\netbeans\modules\web\project\WebProject.java (in directory E:\nb_all\web\project\) Checking in src/org/netbeans/modules/web/project/ProjectWebModuleProvider.java; /cvs/web/project/src/org/netbeans/modules/web/project/ProjectWebModuleProvider.java,v <-- ProjectWebModuleProvider.java new revision: 1.7; previous revision: 1.6 done Checking in src/org/netbeans/modules/web/project/WebProject.java; /cvs/web/project/src/org/netbeans/modules/web/project/WebProject.java,v <-- WebProject.java new revision: 1.41; previous revision: 1.40 done
Verified.