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

Bug 314665

Summary: When creating project from source, tree search takes more then 10 minutes
Product: [Eclipse Project] JDT Reporter: Mikel Waxler <dooser>
Component: UIAssignee: Deepak Azad <deepakazad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P4 CC: daniel_megert
Version: 3.6Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mikel Waxler CLA 2010-05-27 09:59:12 EDT
Build Identifier: 20100218-1602 

When creating a new project from existing source, it can take exceptionally long to search for source tree roots. Our source code has only 2 roots and ~150,000 files, but eclipse finds many source roots. because our tree is so large, it takes upwards of 10-15 minutes to find all these folders. I then needs to remove almost all of them. 

I am happy to provide statistics on the source tree, but cannot give out any information about the contained code.

There are a couple of extra source roots that are in the tree for side projects/ alpha code. Some of which are inside the larger roots.

Reproducible: Always

Steps to Reproduce:
1. Create Java Project
2. Select a large existing source tree.
3. Hit next
4. wait 10-15 minutes.
Comment 1 Prakash Rangaraj CLA 2010-05-27 13:04:13 EDT
Moving to JDT
Comment 2 Dani Megert CLA 2010-05-28 02:58:52 EDT
Please create some stack dumps while it's searching the source and attach them here.
Comment 3 Mikel Waxler CLA 2010-05-28 12:01:26 EDT
I assume that there is a way to do this from the command line, can you shoot me some instructions? The Eclipse ui is totally locked up during this process. 

Something as simple as an option to skip the search would be fine with me.
Comment 4 Deepak Azad CLA 2010-05-29 12:00:11 EDT
(In reply to comment #3)
> I assume that there is a way to do this from the command line, can you shoot me
> some instructions? The Eclipse ui is totally locked up during this process. 

This should help: http://wiki.eclipse.org/How_to_report_a_deadlock
Comment 5 Dani Megert CLA 2010-09-21 06:19:14 EDT
We'd need more info to do anything here.