Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326064 - "Updating project..." takes forever for big projects
Summary: "Updating project..." takes forever for big projects
Status: CLOSED DUPLICATE of bug 133881
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 10:25 EDT by Bertrand HUGUIES CLA
Modified: 2010-09-23 11:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand HUGUIES CLA 2010-09-23 10:25:19 EDT
Build Identifier: Eclipse IDE for C/C++ Developers  Build id: 20090619-0625

Every time I build, even if I use a Make Target in a single folder, the make command runs quickly but the "Build Process..." is blocked on "Updating project..." forever.

All binary parsers and indexer can be turned off, it is the same behavior.

Searching for this problem, I found this :
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg09874.html
that explains that Eclipse is going through a long process of refreshing the entire project tree every time a build process is launched.
On big projects, it never ends.

Reproducible: Always

Steps to Reproduce:
1. Open a CDT project with a large amount of folders and files (e.g. my project has 150.000 files and 10.000 folders)
2. Create a Make Target on source folder
3. Launch this Make Target
Comment 1 Bertrand HUGUIES CLA 2010-09-23 10:28:54 EDT
A bug fix for this problem would be to integrate the source code modification explained here :
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg09874.html

and adding a flag in the project properties the allows the user either to update project after each build or not.
Comment 2 Andrew Gvozdev CLA 2010-09-23 11:23:15 EDT
(In reply to comment #1)
> A bug fix for this problem would be to integrate the source code modification
> explained here :
> http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg09874.html
> and adding a flag in the project properties the allows the user either to update
> project after each build or not.

There is a patch like that attached to bug 133881. There is some discussion going on in there. You can vote and add your ideas.

*** This bug has been marked as a duplicate of bug 133881 ***
Comment 3 Bertrand HUGUIES CLA 2010-09-23 11:26:44 EDT
Bug is a duplicate of  Bug 133881 -  Make refreshing after building optional