Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340774

Summary: JSIndexManager should not consider derived resources
Product: [WebTools] JSDT Reporter: Patric Rufflar <patric>
Component: WebAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Patric Rufflar CLA 2011-03-23 11:13:19 EDT
Build Identifier: 3.2.1

I am experiencing the reproducible problem that
the java indexing thread causes high cpu load for several minutes
after a build took place.

The reason for this is that the JSIndexManager is considering derived resources which should be ignored.

In my development environment we have have many derived resources which impacts
the build time in combination with this bug.

See also bug 340647 (which affected the JSPIndexManager in the same way)

Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:
1. Create a dynamic web project
2. Copy many (let's say >500) files/JSPs in your web content folder
3. Mark them as derived
4. Build your project
5. You have to wait several minutes before cpu load will drop down to idle
Comment 1 Nitin Dahyabhai CLA 2011-03-23 11:56:32 EDT
As with bug 340684, the doesn't satisfy the conditions of Critical, meaning "crashes, loss of data, severe memory leak."  Downgrading to Major.
Comment 2 Nitin Dahyabhai CLA 2011-04-05 00:27:50 EDT
Fixed in 3.2.4.  Still needed in 3.3.
Comment 3 Nitin Dahyabhai CLA 2011-04-25 11:27:17 EDT
Also done in M7 (4/18).