Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?

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?

like image 456
morais Avatar asked May 07 '10 07:05

morais


2 Answers

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/)

like image 94
morais Avatar answered Oct 02 '22 15:10

morais


You can try some suggestions from this IBM developerWorks article

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

like image 32
Prashast Avatar answered Oct 02 '22 16:10

Prashast