You can configure it similarly for Windows or Linux operating systems. Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/bin My eclipse.ini file snippet showing -vm argument usage to configure eclipse to use JDK8 in Mac OS X. Permgen space default value is configured as 256MB that is good for small to medium projects.Įclipse.ini vm argument is useful when you have multiple JDK installation and you want to make sure that your eclipse runs on a specific JVM, rather than picking system configured jdk path. They are configured using VM arguments -XX:MaxPermSize, -Xms and -Xmx. If you are getting Out of Memory errors, you should try to increase Permgen space and maximum heap space values.–launcher.XXMaxPermSize specifies the maximum permgen space to use by eclipse launcher, increase this value if your eclipse startup is failing with out of memory error.For example -vm settings for JDK to be used. All the lines after -vmargs are passed as JVM arguments, so all options and arguments for eclipse startup must be specified before -vmargs.Each line before -vmargs contains an option followed by the value for option.
Some important points about eclipse.ini file are: Here is the example eclipse.ini file from my default eclipse installation.