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.
Scanning broader context (All Files with mounted 1GB project) takes long time (~1 hour) and can cause out of memory exception. The scanning process touches data systems layer and uses EditorCookie. So any internal performance problems are multiplied by those in domain modules.
Both properties and java module needlesly parses their files on EditorCookie.openDocument() and EditorCookie.close() !!! calls.
Created attachment 12661 [details] SourceTasksView leak
I plan to add 'direct context' for XML files.
No more fixes planned in 3.6 timeframe. Generic ENHANCEMENT for next releases depending on above issues (issue #6050).
Trond posted enhancement of TODOs scanning code. We can also narrow providers if only TODOs client view is active.
Another pending improvement is java.nio usage. It could improve memory performance a little bit (shared buffer).
Created attachment 13897 [details] Patch that improves scan perfomance if multiple optional modules senabled
I attached simple patch that should eventually go to release36 too. It improves TODO scan scalability a little bit. It's must with optional modules installed.
ProviderAcceptor.java concept introduced and used in broker code.
task list has been completely rewritten