views:

1213

answers:

3

I'm using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps.

Thing is, Eclipse is really slow - like, it "beach balls" for a few seconds when changing tabs.

Is there anything I can do to improve it's performance?

+14  A: 

The solution: change the Java version used and increase the allocated memory.

Edit eclipse.ini - this file is located Eclipse.app/Contents/MacOS/eclipse.ini.

Change the following vars to use Java 1.6 and allocate more memory:

-Dosgi.requiredJavaVersion = 1.6
-Xms128m
-Xmx1024m

(Found originally here: http://www.codeweblog.com/eclipse-adt-mac-version-tab-to-switch-slow-solution/)

morais
damn, thanks man. This was going to drive me crazy.
bodom_lx
definitely deserve the +1...btw impressing app (Cube)
Juri
Unfortunately this doesn't actually help. I did all the recommended things but it is still tremendously slow. I'm thinking to switch to a text-editor and a terminal.
Aleks N.
+2  A: 

You can try some suggestions from this IBM developerWorks article

Search for the "Maximizing Eclipse performance on Mac OS X" section

Prashast
A: 

1

The solution: change the Java version used and increase the allocated memory.

Edit eclipse.ini - this file is located Eclipse.app/Contents/MacOS/eclipse.ini.

Change the following vars to use Java 1.6 and allocate more memory:

-Dosgi.requiredJavaVersion = 1.6 -Xms128m -Xmx1024m (Found originally here: http://www.codeweblog.com/eclipse-adt-mac-version-tab-to-switch-slow-solution/)

that worked for me. :D I got it from above but didnt know how to post as reply :|

a.m.