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 DBObject query finishes and releases memory properly now. The result appears as a collapsed project node. But when you choose Expand All action it is horribly slow, blocks EDT and ends up with OOME quite often. It is caused by loading documents to compute usage's line when nodes are created in CheckRenderer (PositionBounds.getBegin().getLine()). Since the line information is used only for node's tooltip it should be possible to postpone it to the moment when user hovers the mouse over the node and if possible not to load the document at all.
fixed as jet-main/rev/954fd1877405 My measure of the DBObject query (6373 occurrences) shows 90% improvement for the Expand All action. I had to increase the heap limit to measure something before the patch. Otherwise I got OOMEs.
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/954fd1877405 User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #171657: do not load document to render CheckNode