[Solved] Purpose of the parameters XXMaxPermSize, vmargs, Xms and Xms in eclipse.ini, what do they do

I was developing an App. I had to modify my eclipse.ini so I wanted to know the purpose and meaning of these parameters XXMaxPermSize, vmargs, Xms and Xms, in order to correctly use them.
I am using eclipse 3.8 on ubuntu 14.04, with java 7.

--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

Solution #1:

Like Greg says, everything after -vmargs are VM args which are supplied to the JVM when an application starts. -Xmx is the maximum heap size, -Xms is the initial heap size, and the launcher.XXMaxPermSize is presumably an argument to the eclipse executable. This increases the size of the permagen space. I suspect this argument only really works pre java 8, as permagen was eliminated in 8.

Respondent: Mohammed Ali

Solution #2:

Java official documentation will help you
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html

Respondent: Mark W

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Leave a Reply

Your email address will not be published.