Change Eclipse java and memory settings

Eclipse can be told to use specific version of Java if you have multiple on your system

Open eclipse.ini file

Add the following in it , see the entry i made in bold

org.eclipse.platform
--launcher.XXMaxPermSize
2560m
--launcher.defaultAction
openFile
-vm
/home/jagat/development/tools/jdk1.6.0_45/bin/java

--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=2560m
-Xms400m
-Xmx5120m

Change memory settings

You can increase the momory allocated for eclipse here.

If you notice carefully , in all of the above i added one extra 0 , e.g 40 i made 400

You can change depending on your system need.

No comments:

Post a Comment

Please share your views and comments below.

Thank You.