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.
Observed with ODCS tasks but maybe the problem exists for other bugtracking systems too. With repeated login/logout to/from ODCS team server there are new data structures accumulating about queries, mainly ODCSQuery$PredefinedQuery, ODCSQueryController, QueryIpml, QueryPanel. They are held by RepositoryImpl.queryMap - through the keys which are ODCSQuery and have a strong chain of references to QueryImpl which prevents the WeakReference to QueryImpl used in the map values from being released. I can provide heap dump on request. QueryImpl <-QueryImpl$IssueContainerIntern <- QueryProvider$IssueContainer <- ODCSQueryController <- ODCSQuery$PredefinedQuery <- queryMap in RepositoryImpl
fixed in core-main #2daabe95f6c8
fixed only the reported case. QueryImpl is still referenced on the way from the team dashboard
Integrated into 'main-silver', will be available in build *201409130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2daabe95f6c8 User: Tomas Stupka <tstupka@netbeans.org> Log: see that IssueContainerIntern doesn't hold references to QueryImpl Issue #247006 - Leaking queries