Bug 395315 - Eclipse stuck building workspace
Summary: Eclipse stuck building workspace
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.3   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
: 486595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-28 11:57 EST by Diego Bizmate CLA
Modified: 2016-03-18 06:01 EDT (History)
2 users (show)

See Also:


Attachments
Eclipse log (468.04 KB, application/octet-stream)
2012-11-28 11:59 EST, Diego Bizmate CLA
no flags Details
New error pop up ... (398.67 KB, image/png)
2012-11-28 12:29 EST, Diego Bizmate CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Bizmate CLA 2012-11-28 11:57:29 EST
Experiencing serious troubles with eclipse. I am not sure what it is doing but it gets to a status where it continues rebuilding workspace and it never stops. This stops me from doing any work. Before running into this problem i did checkout a git project and the IDE got stuck when i was creating the new project after the code was checked out.

I doubt this is a Egit problem since the egit import completed successfully. Also you can see in the screenshot how much memory eclipse is eating from the activity manager.

Attached also the log from workspace/.metadata/.log
Comment 1 Diego Bizmate CLA 2012-11-28 11:59:56 EST
Created attachment 224075 [details]
Eclipse log
Comment 2 Diego Bizmate CLA 2012-11-28 12:29:45 EST
Created attachment 224076 [details]
New error pop up ...
Comment 3 Diego Bizmate CLA 2012-11-28 12:30:52 EST
Comment on attachment 224076 [details]
New error pop up ...

An internal error occurred during: "Building workspace".
Java heap space
Comment 4 Paul Webster CLA 2012-11-28 13:07:50 EST
If you're out of heap space, you need to edit your eclipse.ini and add some more ...ex, I run with 
-Xms64m
-Xmx2048m

For the problem of being stuck while building the workspace, the next time you get into that state, could you please take a couple of snapshots and attach them to the bug?  See http://wiki.eclipse.org/index.php/How_to_report_a_deadlock

PW
Comment 5 Diego Bizmate CLA 2012-11-29 05:03:49 EST
Hi Paul

thanks for the suggestion, i should have thought about it but i just installed juno and had not though about increasing the memory permissions. I am still surprised though about the fact that eclipse needs to rebuild a project all the times it starts as for this project it is still taking about 5-10 min to build it and verify it
Comment 6 Steve Owens CLA 2016-01-26 13:48:38 EST
I am having the same issue with eclipse 4.5.1
Comment 7 Lars Vogel CLA 2016-01-26 13:55:44 EST
*** Bug 486595 has been marked as a duplicate of this bug. ***
Comment 8 Lars Vogel CLA 2016-01-26 13:56:09 EST
(In reply to Steve Owens from comment #6)
> I am having the same issue with eclipse 4.5.1

Can you provide an reproducable example?
Comment 9 Lars Vogel CLA 2016-01-26 13:56:31 EST
(In reply to Steve Owens from comment #6)
> I am having the same issue with eclipse 4.5.1

Can you provide an reproducable example?
Comment 10 Dani Megert CLA 2016-02-24 07:58:40 EST
(In reply to Lars Vogel from comment #8)
> (In reply to Steve Owens from comment #6)
> > I am having the same issue with eclipse 4.5.1
> 
> Can you provide an reproducable example?

Ping!
Comment 11 Diego Bizmate CLA 2016-02-25 06:12:42 EST
I have just noticed your comments.
This is a very old issue, TBH I dont use Eclipse much these days and I dont have Juno anymore. I will try to reproduce on Kepler (this is the last version I have) and let you know
Comment 12 Dani Megert CLA 2016-02-25 06:51:00 EST
(In reply to Diego Bizmate from comment #11)
> I have just noticed your comments.
> This is a very old issue, TBH I dont use Eclipse much these days and I dont
> have Juno anymore. I will try to reproduce on Kepler (this is the last
> version I have) and let you know

Kepler also a few years old. Don't bother testing with that, as we don't provide fixes for such old versions. You should try Mars.1:
https://www.eclipse.org/downloads/
Comment 13 Dani Megert CLA 2016-03-18 06:01:53 EDT
(In reply to Dani Megert from comment #12)
> (In reply to Diego Bizmate from comment #11)
> > I have just noticed your comments.
> > This is a very old issue, TBH I dont use Eclipse much these days and I dont
> > have Juno anymore. I will try to reproduce on Kepler (this is the last
> > version I have) and let you know
> 
> Kepler also a few years old. Don't bother testing with that, as we don't
> provide fixes for such old versions. You should try Mars.1:
> https://www.eclipse.org/downloads/

Please reopen if you can reproduce the issue with Mars.2:
https://www.eclipse.org/downloads/