Community
Participate
Working Groups
Build Identifier: Version: 3.6.2.r362 Build id: M20110210-1200 java version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-b05) Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode) Reproducible: Sometimes
Created attachment 210965 [details] thread dump
A lot of time the freeze occurs some seconds after pasting in the editor some code copied from another instance of eclipse.
Created attachment 210966 [details] thread dump 2
Deferring to JDT. May be an SWT problem though.
Either an SWT problem or just simply GCs happening. Marco, do you have enough RAM and do you give enough of it to Eclipse?
My hardware CPU: Intel(R) Core(TM)2 Duo CPU P9700 @ 2.80GHz RAM: 4 GB eclipse.ini memory config --launcher.XXMaxPermSize 256m -vmargs -Xms256m -Xmx768m
I'm able to reproduce to reproduce the problem. Steps are: 1) edit a method in a java class 2) the class have no variable/field/attribute with name "factory" 3) past some java code copied from outside eclipse; the code contains the word "factory" Eclipse freeze for 20-30 minutes. When Eclipse came back: 1) copy the text "getObjectFactory()" in the clipboard 2) select the word "factory" from the code copied before 3) past (in order to substitute "factory" with "getObjectFactory()") Eclipse freeze again for 20-30 minutes. Than appears the code completation with a list of more than 20.000 classes
(In reply to comment #7) Correction to last sentence Eclipse freeze again for 20-30 minutes. Than appears the quick fixes [factory cannot be reolved] with a list of more than 13.000 quick fixes available
(In reply to comment #8) > (In reply to comment #7) > Correction to last sentence > > Eclipse freeze again for 20-30 minutes. Than appears the quick fixes [factory > cannot be reolved] with a list of more than 13.000 quick fixes available Wow 13000 quick fixes! It would be great if you could fill in your steps with concrete test data (the source you paste and ideally the project into which you paste) so that we can indeed reproduce the problem. Also, it would be great to get some more stack traces.
It's not so easy. In order to provide you with a working project I should give you also all the external dependencies: - Jboss EAP 5.1 - Axis2 - GWT - some more... If you think it will be really usefull for you I can manage to create a project with all the libraries within it and zip the project to you... But the size will be huge, I suppose more than 500 MB. Haw can we manage that?
(In reply to comment #10) > It's not so easy. > In order to provide you with a working project I should give you also all the > external dependencies: > - Jboss EAP 5.1 > - Axis2 > - GWT > - some more... > If you think it will be really usefull for you I can manage to create a project > with all the libraries within it and zip the project to you... > But the size will be huge, I suppose more than 500 MB. > Haw can we manage that? Let's first try whether additional stack traces help. From the initial stack traces I got the feeling it hangs in the UI thread but if you really get 13000 quick fixes then something else might go wrong here. You could attach the large file by selecting the 'Big File' checkbox.
Created attachment 213827 [details] sample project which freeze see comments inside classes
This is still reproducible. Though I do have question the number of quick fixes...how is a user supposed to scroll through that?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.