Why does 'Restting Selection' take so long time(about 5 to 10min)?

This topic contains 10 replies, has 5 voices, and was last updated by  support-swapna 8 months, 2 weeks ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #396660 Reply

    Yu Wennan
    Participant

    Hi,
    My system: Macbook Pro CPU:i7 4770HQ,Memory:16G,Yosemite 10.10.4
    MyEclipse:2015 CI 13

    I migrated a web project with spring3.05 from MyEclipse8.

    when I editing a java file, MyEclipse’s progress shows ‘Resetting Selection’, sometime, it stuck at ‘Linking viewer’….

    Please help

    #396683 Reply

    support-swapna
    Moderator

    Yu,

    Sorry that you are seeing this issue.

    Can you please give us some more information?

    1. Do you see the issue only when editing the migrated project’s java files or with any java file in the workspace?
    2. Can you please switch to a new workspace and check if the issue persists with other projects as well?
    3. Also please try increasing the memory (-Xmx) in the myeclipse.ini file located in the MyEclipse installation directory and check if it helps.
    4. Please check if there are any related errors logged in the .log file located at workspace dir/.metadata/.log. If yes, then please send us the .log file for further investigation.
    5. Also send us the screenshot of the Progress view to help us get a visual.

    –Swapna
    MyEclipse Support

    #396855 Reply

    Yu Wennan
    Participant

    Swapna,

    Thanks for your reply.
    I created a new workspace and new web project, then I copied src and webRoot dirs, it worked. That latency never showed.

    • This reply was modified 3 years ago by  Yu Wennan.
    #396857 Reply

    support-swapna
    Moderator

    Yu,

    Glad that it is working fine.
    Let us know if you see any issues.

    –Swapna
    MyEclipse Support

    #542878 Reply

    philduhs
    Participant

    Hi,

    I have the same issue in the current version of MyEclipse running on my new MacBook Pro:

    Version: 2017 CI 8
    Build id: 15.0.1-20170912

    After saving changes to a java file (not JSP file) I have to wait about 2 minutes while “Resetting Selection” happens and then some more time that doesn’t have a progress message. This seems to get worse the longer MyEclipse is open – although only marginally worse as it starts off bad.

    I have had this problem for 6 months and in the last few days created a new workspace and re-imported my project into that after seeing the above post. Same problem or possibly worse (takes even longer).

    Happy to send any log files, etc – here is the contents of my eclipse.ini file:

    I really need to resolve this as it’s a real distraction from development not to mention a time waster and frustrating when I’m trying to get those last changes done at 2am!

    Rgds,
    Phil

    #542880 Reply

    Brian Fernandes
    Moderator

    Phil,

    That sounds terribly frustrating. I may have located the cause of this problem (though have not been able to replicate it); I need some input from you.

    1) Create a new Java project in your new workspace … just a dummy one and create a sample class. Edit this file and save it – do you see the delay when you edit this too?

    2) Do you have the project actively deployed to any server? If yes, do you experience the issue if the project is not deployed?

    3) Important:If the problem is specific to your project (and does not happen for test #1 above) – can you zip the .project file and the contents of the .settings folder and attach them to this post? Alternatively you can email them to support@genuitec.com with subject: ATTN Brian and link to this thread.

    Hope we’re able to figure this out ASAP.

    #544074 Reply

    fcc10267091
    Participant

    Hi,
    I have the same issue:

    Version: 2017 CI 7
    Build id: 15.0.1-20170704

    After saving changes to a java file (not JSP file) I have to wait about 30 seconds.
    dir/.metadata/.log(no other error logs):

    !ENTRY org.eclipse.m2e.logback.appender 2 0 2017-11-29 16:51:23.277
    !MESSAGE Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

    !ENTRY org.eclipse.m2e.logback.appender 2 0 2017-11-29 16:51:23.282
    !MESSAGE Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

    !ENTRY org.eclipse.m2e.logback.appender 2 0 2017-11-29 16:51:31.930
    !MESSAGE Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

    !ENTRY org.eclipse.m2e.logback.appender 2 0 2017-11-29 16:51:31.935
    !MESSAGE Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

    thanks!

    #544079 Reply

    Brian Fernandes
    Moderator

    fcc,

    Do you just experience a delay or do you see the “Resetting selection” job as well? If you’re not sure, could you keep the Progress view open and see what jobs are running during the time which your workspace is stuck?

    To follow up on the previous poster’s issue – the problem is caused by something in our Spring tooling going awry, this will be further investigated and fixed for the 2017 CI 10 release – for now the issue can only be resolved by removing the Spring facet from the project.

    #544185 Reply

    fcc10267091
    Participant

    Dear Fernandes,

    No other process, you can check in the attachment.
    I’m going to change my version.

    thanks!

    Attachments:
    You must be logged in to view attached files.
    #544189 Reply

    Brian Fernandes
    Moderator

    It is good to know that you’re experiencing the same issue with “Resetting selection”. Just to clarify, the release with the fix is not yet available, unfortunately – CI 9 will be released today, but it does not include this fix.

    The problem can be resolved by removing the Spring facet from the project (which needs to be done manually, the UI will not allow this), and this will result in the loss of spring functionality as well. I will follow up with some instructions.

    #544200 Reply

    support-swapna
    Moderator

    fcc,

    Please find the attached file with the steps to remove the Spring facet manually from the project.
    Hope this helps. Let us know how it works for you.

    –Swapna
    MyEclipse Support

    Attachments:
    You must be logged in to view attached files.
Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Why does 'Restting Selection' take so long time(about 5 to 10min)?