Eclipse keeps crashing when I hit refresh

On my CentOS 5.4 64 bit linux with subversion installed, hitting refresh on the project (or anything) frequently (about 75% of the time) causes eclipse to exit. I’ve been trying not to stay on the bleeding edge, so that I can work on my website (and so that I don’t have these problems). But the fix is simple enough (thanks to someone else’s pain).  Add the following lines to your eclipse.ini file.

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>

So now my eclipse.ini file looks like this:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms128m
-Xmx1024m
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>

Links:

Leave a Reply