eclipse.ini settings for parallel garbage collection

by David Roussel on October 24th, 2009

Eclipse icon I’ve had problems with eclipse freezing in an annoying way. It seems this is mainly due to the stop the world garbage collector, as I’ve found the following settings work well in improving the situation.



eclipse.ini

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.0.v20080605-1900.jar
-vm
"C:\PROGRA~1\Java\jdk1.6.0_06\bin\javaw.exe"
-vmargs
-server
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx768m
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:+ExplicitGCInvokesConcurrent

Categories: Uncategorized

blog comments powered by Disqus