Performance settings for Eclipse on OSX

I've been adding some performance variables to my Eclipse setup and have recently learnt that on the Mac you can use an Eclipse.ini file for the settings instead of the [non-standard] Info.plist file.To open the Eclipse.ini file gotoEclipse.app >> right-click >> Show Package ContentsThen navigate to /Contents/MacOS and use a text editor to open the file.Note: A single VM argument ("-vmargs") specified in Info.plist will cause all other VM arguments in the eclipse.ini to be ignored.So far from my trawlings around the web one consensus I've seen is that to improve performance you should give the VM as much ram as you can spare and and set your min and max values to the same amounts to avoid resizing.So for reference I have added the following startup variables in my ini file:-Xms512m-Xmx512m-XX:PermSize=128m-XX:MaxPermSize=128m-Xverify:noneThe first 4 setting change how the memory is managed. Line 5 should reduce your startup time. This parameter turns off bytecode verification. I'm not a Java expert (so please someone jump in if I am wrong) but you should only set this if you know your plugins work fine. In essence this checks for the Java language rules for safety and the code may not have been produced by a known-to-be trustworthy Java compiler meaning that you could end up crashing Eclipse as your plugin might violate access restrictions etc.If you have any more changes/updates let me know!
comments powered by Disqus