Example Ini

Spoofax
Example eclipse.ini file, taken from an OS X system:

-startup
../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.0.v20100503
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xss8m
-Xms256m
-Xmx1024m
-XX:MaxPermSize=256m
-server
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Djava.net.preferIPv4Stack=true

Note that every option appears on a separate line, with no following spaces, and that the memory options appear after the -vmargs option. The -Xmx and -Xms options replace corresponding options that may have been in the existing file. Setting these options ensures that Eclipse has sufficient memory to dynamically load editors and is prepared for a full meta-programming environment.

(back to download page)