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.

Bug 135301 - Indexing consuming all resources
Summary: Indexing consuming all resources
Status: RESOLVED DUPLICATE of bug 133943
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Windows ME/2000
: P3 blocker with 1 vote (vote)
Assignee: Pavel Flaska
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2008-05-19 10:35 UTC by michael
Modified: 2008-07-31 09:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2008-05-19 10:35:56 UTC
Indexing is consuming all resources. 

The ide is virtually unusable during indexing.

Indexing a large project takes in excess of 10 to 15 minutes.

There is no way of defining indexing excludes within the project directory.

Indexing is repeated for the entire project on each ide restart.
Comment 1 grafity 2008-06-03 17:46:50 UTC
in a project with more than 7000 files takes more than 3 hours to index
Comment 2 Jan Lahoda 2008-06-09 12:00:24 UTC
I would like to separate a few different case:
-indexing/compiling when the project is opened for the first time (or after bigger changes in that project, e.g. change
of classpath): currently, the only thing that can be done, IMO, is to look for bottlenecks and improve the performance
bit by bit.
-reindexing on start-up: there should be a time-stamp check (which is quite fast), and if nothing changed, nothing
should be indexed/compiled. If the project is recompiled on each startup, we need to find out the cause and fix it.
-the excludes can be defined, at least for J2SE projects (Project Properties/Sources/"Includes/Excludes") and Freeform
projects

Passing to performance team.
Comment 3 Jan Becicka 2008-07-31 09:21:39 UTC

*** This issue has been marked as a duplicate of 133943 ***