Stands on the shoulder of Giants

My rambling and thoughts. Powered by Obtvse

Tweaking Eclipse in Mac

If you are developing an Android application on a Mac, you will notice that the Eclipse IDE is very sluggish. As a IntelliJ IDEA user, it made me frustated. After doing some querying in Google, I finally found the solution. I put this as a note for further reference.

All you need is to update eclipse.ini configuration file. You can access it by right clicking Eclipse.app and choose Show Package Contents. Navigate to Contents -> MacOS -> eclipse.ini. Open file eclipse.ini by using text editor.

Find this line:

-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx128m

change it to:

--Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx1024m

And voila! This configuration makes Eclipse IDE loads faster and more responsive.

Back to Blog