To speedup eclipse I first edited the eclipse.ini file to look like this (don’t just copy paste my file – compare it with yours):
-vm /opt/jdk1.8/jre/lib/amd64/server/libjvm.so -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140521-1744 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile -showsplash org.eclipse.platform --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.7 -Xms60m -Xmx1024m -Xss2m -Xverify:none -Duser.name=mbo
I removed lines setting MaxPermSize as this is deprecated in Java 8. What I added:
- Using vm argument to have eclipse running as “eclipse” and not “java”. I think this also brings a performance boost.
- Changed requiredJavaVersion to 1.7 as 1.6 is dead.
- Added more memory to Xms and Xmx.
- Added Xss to configure stack memory.
- Added verify:none to disable java class verification. Here some explanation I found what this does (till today I had no problems with this):
Disables Java class verification. This can provide a 10-15% improvement in startup time at the expense of being unable to detect corrupt or invalid class data. If corrupt class data is loaded the JVM may behave unpredictably or crash.
- Configured the author name to override logged in username.