Optimizing Sluggish Eclipse on OSX



If you find Eclipse running sluggishly on OSX, and taking a lot of CPU, here's something that worked for me (Eclipse 3.5, but should be same for 3.6):


Edit eclipse.ini located in /Applications/eclipse-3.5/Eclipse.app/Contents/MacOS

Make sure the following properties are set at 512m or so:

Code:

--launcher.XXMaxPermSize
512m
-XX:MaxPermSize=512m
-Xms512m
-Xmx512m

Save the file and restart Eclipse.

Marko

Published May 6, 2011