Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes Slow startup of Eclipse 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Slow startup of Eclipse 3.0" Watch "Slow startup of Eclipse 3.0" New topic
Author

Slow startup of Eclipse 3.0

Dan Waters
Greenhorn

Joined: May 07, 2004
Posts: 11
I have a Pentium 4.0 2.8 Ghz, 512 RAM laptop and it takes 2-3 minutes
for Eclipse to start. Other programs like Excel, Word and even Netbeans
start up instantly..

Is there something that can be done to speed up the Eclipse start process.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

I had heard that there is a memory configuration that can be changed to give Eclipse more memory, but where that is, I have no idea. Sorry.

I actually just heard this at lunch today.

Other than that, I have always thought Eclipse to be slow, however, I have noticed an improvement in 3.0

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
You can do the usual -xms and -xmx options. To speed startup, -xms may be what you want - it gives Eclipse (well, any Java program to which the option is passed) a specifiable amount of memory to start with. If you know Eclipse always gets to (say) 120Mb memory you could use java -xms120m to allocate it that much initially.

Other than that, you can up Eclipse in general by:

  • disabling large plugins you don't use
  • closing or removing projects you aren't actively working on
  • using the -server option to java - I find this helps even though Eclipse isn't really used as a 'server' (in this context, 'long-running') program.


  • This is all I'm aware of though I'm not hugely experienced with Eclipse so there is probably more to it than this!


    --Tim
    Dan Kehn
    Dastardly Dan the Author
    Ranch Hand

    Joined: Jun 11, 2003
    Posts: 120
    Something is very very wrong. My machine (935MHz P3 / 512M RAM) is not nearly as fast as yours and Eclipse starts up in 16 seconds cold and 9 seconds warm. I wonder if you're inadvertently doing some network access; the delays you mention sound suspiciously like default IP connection timeout values.

    -- Dan


    Co-author of <a href="http://www.jdg2e.com" target="_blank" rel="nofollow">The Java Developer's Guide to Eclipse</a>, 2nd Edition<br />(Yahoo group <a href="http://groups.yahoo.com/group/JDG2E/" target="_blank" rel="nofollow">JDG2E</a>)
    Tim West
    Ranch Hand

    Joined: Mar 15, 2004
    Posts: 539
    Dan (W) - Two other things that occurred to me...

  • Do you have a massive project/s? I mean, a large number of files in the workspace? My P4/2Ghz/512 RAM starts up in around 30 seconds (cold) with a project that has ~1500 classes and ~1000 other files in the workspace. That could be affecting it.
  • Do you have "build automatically" turned on? That "feature" slows Eclipse down to the point of unusability for me. You can turn it off in Window->Preferencses->Workbench menu item->Build Automatically.


  • I think these are more runtime concerns than startup, but there ya go


    --Tim
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Slow startup of Eclipse 3.0
     
    Similar Threads
    Removing Eclipse Ganymede
    How to debug Struts program in Eclipse?
    Testing Jar File
    Eclipse + APACHE Tomcat 6.0
    How can i convert an application made in netbeans to run in eclipse