MyEclipse: VERY Slow Shutdown
flawlor - Oct 04, 2011 - 08:09 PM
Post subject: VERY Slow Shutdown
Whenver I shut ME (9.1) down it takes about 5 minutes.
This is even longer than it takes to start up.
There are no log entries.
Any idea how to speed this up or find out why?
It is almost as if it is waiting to time out on something.
support-joy - Oct 05, 2011 - 10:15 PM
Sorry to hear you are facing a slow shutdown. Could you answer below queries to help me understand your environment -
1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details and copy and paste the same here
2. How did you install MyEclipse ? Meaning using - all-in-one installer / pulse / archived update site on top of eclipse classic
3. Have you added any third party plugins? If yes, please list them here with their update site / download weblink and version
I would recommend you -clean. Please refer - http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html
flawlor - Oct 06, 2011 - 02:09 PM
When I say it takes 5 minutes to shut down I mean the time it
takes the myexlipse.exe and javaw.exe processes to end in the
Windows task manager. The GUI disappears quickly.
I tried -clean and that did not speed things up.
The installation was an all-in-one install.
3rd Party items added:
These were all added from the sites presented by the ME Config Center
- AspectJ Development Tools (AJDT) (w/related) - from Eclipse.org
- Drools - http://download.jboss.org/jbosstools/updates/stable/helios
- FindBugs Plug-in - FindBugs Project
- RTC Plugin:
- Maven Integration for Eclipse (w/related) - maven.org
- Maven Extras - http://m2eclipse.sonatype.org/sites/m2e-extras
- Maven Support for MyEclipse
Thursday, October 6, 2011 7:53:30 AM CDT
** System properties:
*** MyEclipse details:
MyEclipse Enterprise Workbench
Build id: 9.1-20110701
*** Eclipse details:
MyEclipse Enterprise Workbench
Build id: 9.1-20110701
Eclipse startup command=-os
------------------------ end Installation Details -----------------------------
support-joy - Oct 07, 2011 - 09:59 PM
Thank you for the details. I have escalated your issue to dev team members. We shall investigate and get back to you on this.
support-tony - Oct 10, 2011 - 11:03 AM
I thought it might be related to plug-ins, in some way. However, I couldn't replicate the problem but I only installed some of the plug-ins you mentioned as I couldn't locate others. Also configuring or using the plug-ins in some way might cause some unexpected extensive cleanup.
You said that all of the plug-ins were available from sites presented by the config center. However, I could only find a few of the listed plug-ins without adding update sites. You listed a couple of update sites (for Drools and Maven Extras) but perhaps only hinted at others. The Drools site listed three Drools plug-ins, though the main eclipse site did have a single Drools plug-in; I installed the Drools Core plug-in from the JBoss tools update site. There was no plug-in named "Maven Extras" at the sonatype update site. I couldn't locate an RTC plug-in (though the IBM web site makes it difficult to track these things down). Lastly, Maven Support for MyEclipse comes as standard, so I'm not sure why you listed it as a 3rd party plug-in.
So, could you list the extra plug-ins you installed, again, giving their exact names, the update site (where applicable) and which related plug-ins were installed (where applicable)? Could you also mention why you installed maven plug-ins in addition to the supplied functionality from MyEclipse? When I installed the Maven Integration for Eclipse, I noticed no additional maven capability, beyond what MyEclipse already provided.
Another thing to try is a repair install of MyEclipse. Just run the installer again and at the appropriate point choose to repair the installation. This would clean up your installation, which might help. Plug-in customisations should be retained (that's an option in the repair).
Once you supply the plug-in information, I can try to replicate. Or if you repair your installation and that fixes the problem, let us know.
flawlor - Oct 10, 2011 - 03:24 PM
I used the config center information to try to recollect the plug-ins.
Where is this information available?
It seems like eclipse should track this.
support-tony - Oct 11, 2011 - 04:35 AM
The configuration center will tell you which plug-ins you've installed. Look at the Software tab and the My Software panel. Select a plug-in and click the binoculars icon at the top of that panel to see details, including any optional additional plug-ins that were installed. A complete list of plug-ins is available from Help->About MyEclipse->Installation Details->Plug-ins. The Configuration tab on that screen also shows all the plug-ins (though not in as much detail) and pretty much all other configuration data - that might be useful to attach.
None of these show exactly where the plug-in was installed from, but the name and version should be enough to track it down.
flawlor - Oct 14, 2011 - 09:59 PM
The My Software section has a large list (and did when I installed).
I have no way of knowing what I installed beyond the base install, do I?
I guessed as best I could. If this is important for support then there should be some tracking of it.
There is "Maven Support for MyEclipse" and "Maven Integration for Eclipse" plus "Maven Integration for WTP". I think the RTC plugin had specified these.
----------- Configuration Tab info ----------
[Removed - data is in file attached to later post]
support-tony - Oct 17, 2011 - 11:13 AM
Your configuration details didn't all appear in the post. Could you create a file and attach it?
However, one thing I noticed was a vast array of IBM plug-ins, presumably from the RTC plug-in. I don't have Rational Team Concert with which to really check that out but would it be possible for you to uninstall or disable that feature to see if it has an impact?
flawlor - Oct 17, 2011 - 04:16 PM
Attached a file with the Configuration details.
support-tony - Oct 18, 2011 - 05:53 AM
Thanks for the file, Frank.
Will you be able to test a shutdown without the RTC plug-in?
flawlor - Oct 18, 2011 - 01:49 PM
Tell me if the following would work:
1) zip my workspace and save it.
2) remove the RTC plugin
3) test shutdown
4) unzip original workspace (I need RTC for my work).
If RTC is the problem then I can pursue getting a fix.
flawlor - Oct 18, 2011 - 02:02 PM
I'm trying to figure out what constitutes "RTC"
I see in My Software an "RTC Plugin" item, but the RTC site also had "Maven integration for Eclipse" (which may be redundant with Maven Support for MyEclips??).
Is there anything else which you noticed?
support-tony - Oct 19, 2011 - 05:11 AM
You don't need to worry about your workspace. You can uninstall plug-ins freely and then reinstall them again. It should not affect your workspace as the plug-in is installed into the MyEclipse installation, not the workspace.
I believe the RTC plug-in needs to be told about an RTC server and I wondered if it would be trying to do some cleanup processing between your workspace and the server during shutdown. Maybe some kind of timeout is happening, which can take a long time, especially with retries.
An alternative is to install a new copy of MyEclipse and add the plug-ins you need except RTC, then open your workspace with the new installation of MyEclipse and see if it closes quickly. But it would probably be easier to uninstall the RTC plug-in.
If you're worried about your workspace, you can always take a backup.
I haven't noticed anything else, so far.
flawlor - May 07, 2012 - 07:33 PM
I had moved to using a new workspace (which shuts down quickly), but now I'm back on the one with the slow shutdown.
I noticed when all my windows were closed and I closed ME, it popped up a progress window saying "Saving Workspace" and the sub-message was "Cancel to skip compacting local history". This is where it is spedning so much time.
Why is this taking so long and how can I speed it up.
What are the implications of canceling this?
support-tony - May 08, 2012 - 04:47 AM
There is no harm in pressing the Cancel button during that operation. Compacting local history is really a pruning operation, based on local history settings, rather than altering the history files. This is a base eclipse function.
The length of time might indicate that you have a very large history for that workspace. You can alter history settings via Windows->Preferences->General->Workspace->Local History. You can reduce any of the settings to limit the history space still further, which should have an impact after the first shutdown following the change. You can, alternatively, uncheck the "Limit history size" option, which will simply stop compacting the history at shutdown, though your history can then grow to the available disk space, in theory.
To check if this is the problem, you can always just rename the history folder (to effectively clear it, without getting rid of your history - a new folder will be created if you make source changes) to see the effect on your workspace shutdown. The history folder is in your workspace at .metadata/.plugins/org.eclipse.core.resources/.history. Note that you will need to rename the file back again to be able to access the history from the workbench.
Please let us know if these suggestions help.
flawlor - May 09, 2012 - 02:30 PM
The settings on my local history page are:
Days to keep files: 7
Maximun entries per file: 50
Maximum file size (MB): 1
I don't know what these numbers imply, but they don't seem large.
I don't understand why this one workspace takes so long to compact history.
support-tony - May 09, 2012 - 10:54 PM
Yes, those settings aren't large and are the default settings, I think. That might be part of the problem if you do a lot of development (source changes) in that project. Did you try removing limits, as I mentioned? Please let us know how that works.
The settings refer to the number of days to keep history files (so you won't be able to go back to versions of source files that are older than that number of days), the maximum number of versions to keep in the history for each source file and the maximum size allowed for each history file.
Local history is a base eclipse function so you might find tips on its use in eclipse documentation or web sites.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits