1

I am using eclipse galileo on my macbook pro. After a few minutes it starts dragging really badly, like it takes 8 seconds to open a file. I don't have many files open at all. I already modified the config file to increase ram and all that stuff. Is there something wrong with this version of eclipse, never had it run so poorly on here,

Thanks

Craig Angus
  • 22,784
  • 18
  • 55
  • 63
user246114
  • 50,223
  • 42
  • 112
  • 149

2 Answers2

2

After looking at this SO question, I would recommend:

  • using an optimized eclipse ini (like this one)
  • replacing in that eclipse.ini -Dosgi.requiredJavaVersion=1.5 by -Dosgi.requiredJavaVersion=1.6 (see this SO question)
  • use 64-bit Cocoa andand add to the JVM switches (still in the eclipse.ini) for running in 64 bit on Snow Leopard:
    -XX:+UseParallelGC
    -XX:+UseCompressedOops

(The last point would apply for Snow Leopard -- 10.6.x -- and not Leopard -- 10.6.5 -- as mentioned by zvikico, so read his blog post on the topic (and upvote his answer in this thread ;) )

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • My experience teaches me that the only difference is that using 64-bit on Leopard consumes more memory and system resources. On Snow Leopard it is the other way around. – zvikico Mar 08 '10 at 05:56
  • @zvikico: interesting. Thank you for the comment. – VonC Mar 08 '10 at 06:24
  • There are reasons for that. I invite you to read the full post here: http://blog.zvikico.com/2009/10/installing-eclipse-galileo-on-mac-os-x.html – zvikico Mar 08 '10 at 06:47
  • `UseCompressedOops` is enabled by default as of JDK 6u23. http://blog.juma.me.uk/2008/10/14/32-bit-or-64-bit-jvm-how-about-a-hybrid/ – Matt Ball Sep 29 '11 at 14:34
1

I'm with OS X 10.5.8 and my Eclipse runs great. Start by looking at the heap (Preferences -> General -> Show Heap Status). Next, check the Error Log for errors in your Eclipse platform (Window -> Show View -> Error Log).

This could be a problem with one of your plugins or with the workspace. I would try downloading a clean Eclipse install (you can have as many as you need) and starting a new Workspace. Try importing your projects (do not copy the settings). See if it works better for you.

Make sure you get the Cocoa version.

zvikico
  • 9,765
  • 4
  • 38
  • 49