Friday, 11 September 2009

How to increase java heap size in Eclipse?

Add following entries to  eclipse.ini file.Current eclipse.int contents given below

-vmargs
-Xms512m  [minimum memory ]
-Xmx1024m  [maximum memory]
-Duser.name=Thillakan Sabanayakam  [Eclipse uses you OS user name in the @author java doc tag for default ]


Contents
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-clean
-framework
plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
-Duser.name=Thillakan Sabanayakam

No comments: