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

Bug 472456

Summary: [performance] Refresh on big project takes extremely long
Product: [Eclipse Project] Platform Reporter: Michael Bohn <spaceodyssey>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: jarthana, sptaszkiewicz, stephan.herrmann
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Bohn CLA 2015-07-13 03:58:28 EDT
I'm working on a very big project (> 1.1 million lines of code).
Since the update to Eclipse Mars a full refresh takes more than an hour, making Mars unusable at the moment.
Comment 1 Jay Arthanareeswaran CLA 2015-07-13 04:24:44 EDT
Which view are you on when refresh? Can you also tell me the time also include building/compilation?
Comment 2 Michael Bohn CLA 2015-07-13 04:29:32 EDT
would classify this as 'critical' since this makes Mars unusable for me.
Comment 3 Jay Arthanareeswaran CLA 2015-07-13 04:52:07 EDT
(In reply to Jay Arthanareeswaran from comment #1)
> Which view are you on when refresh? Can you also tell me the time also
> include building/compilation?

Please also confirm if auto build is enabled.
Comment 4 Szymon Ptaszkiewicz CLA 2015-07-14 06:21:16 EDT
This looks like duplicate of bug 470153.
Comment 5 Stephan Herrmann CLA 2015-07-14 06:38:03 EDT
(In reply to Szymon Ptaszkiewicz from comment #4)
> This looks like duplicate of bug 470153.

Does that imply setting -Declipse.filesystem.useNatives=false in eclipse.ini would possibly work around the problem / help narrow it down?
Comment 6 Szymon Ptaszkiewicz CLA 2015-07-14 06:46:59 EDT
(In reply to Stephan Herrmann from comment #5)
> (In reply to Szymon Ptaszkiewicz from comment #4)
> > This looks like duplicate of bug 470153.
> 
> Does that imply setting -Declipse.filesystem.useNatives=false in eclipse.ini
> would possibly work around the problem / help narrow it down?

As a workaround maybe, to narrow down rather not. The best way to confirm it is the same problem is to get profiler output.
Comment 7 Michael Bohn CLA 2015-07-14 06:53:15 EDT
(In reply to Jay Arthanareeswaran from comment #3)
> (In reply to Jay Arthanareeswaran from comment #1)
> > Which view are you on when refresh? Can you also tell me the time also
> > include building/compilation?
> 
> Please also confirm if auto build is enabled.

Auto-Build is _not_ enabled.

I actually never did see Eclipse build the project. I let it run over need, to check whether refresh terminates.

Refresh runs very fast to 43-47% and then takes extremely long from this point on.

Is there a tutorial for profiling reports in Eclipse? I would gladly supply some profiling data.
Comment 8 Michael Bohn CLA 2015-07-14 06:54:08 EDT
let it run over need - let it run over night
Comment 9 Jay Arthanareeswaran CLA 2015-07-14 12:14:10 EDT
(In reply to Michael Bohn from comment #7)
> Is there a tutorial for profiling reports in Eclipse? I would gladly supply
> some profiling data.

This is not a deadlock issue, but this might give us some idea about what's going on:

http://wiki.eclipse.org/How_to_report_a_deadlock
Comment 10 Szymon Ptaszkiewicz CLA 2015-07-16 04:56:40 EDT
I am going to mark it as duplicate of bug 470153 since the problem started happening since Mars and the bug is opened against Mac, which is exactly the same as bug 470153.

*** This bug has been marked as a duplicate of bug 470153 ***