Sometimes Clean All gets slow

From: Ricardo Parada (rparad..ac.com)
Date: Tue May 06 2008 - 17:31:26 EDT

  • Next message: Jeremy Matthews: "eclipse.ini arguments"

    Hi All,

    I have an eclipse workspace with 100 projects in it. Most are WO
    frameworks. But many are also web apps.

    I used to do a Clean All and it used to go real fast rebuilding
    everything in just over 3 minutes on a MacBook Pro. Which I think is
    pretty good for 100 projects.

    However, after upgrading my WOLips plugin, I decided to do a Clean
    All. The clean phase went fast but when it got to the "Rebuilding
    Workspace" phase it got stuck at 0% and then at 1% for a while. Then
    it got stuck at 11% for another long while. Anyways, it's taking
    unusually long to build. You get the idea. :-)

    So my theory is that the first few times I do the Clean All after the
    projects have been imported into a brand new workspace and everything
    is rebuilt it goes slow. Eventually I can do Clean All to rebuild
    everything and things go fast. Like I said, it takes just over 3
    minutes for 100 projects. :-)

    I have a theory that if I upgrade my WOLips plugin tomorrow and do a
    Clean All then it will get slow again. And eventually the Clean All
    will be fast over time.

    Anyways, does anybody have any ideas what may be going on? Or how to
    find out what Eclipse is doing exactly?

    Just for context, most developers have a MacBook Pro 2GHz or better.
    They all have at least 2GB of memory I think. Some of us have
    Leopard. Others have Tiger. We all have Eclipse 3.3.2 with a nightly
    version of the WOLips plugin.

    If it helps, I'm seeing a whole bunch of these messages in the console:

    5/6/08 1:46:10 PM [0x0-0x26b26b].org.eclipse.eclipse
    TypeCache.clearCacheForType: clearing cache for some.package.name.here
    5/6/08 1:46:38 PM [0x0-0x26b26b].org.eclipse.eclipse
    TypeCache.clearCacheForProject: CLEARING P/SomeFrameworkNameHere

    Thanks,
    Ricardo J. Parada



    This archive was generated by hypermail 2.0.0 : Tue May 06 2008 - 17:33:08 EDT