Archive for the ‘eclipse’ Category

When I hit refresh on eclipse, it frequently (almost all the time) will crash. I’m using CentOS 5.4, 64 bit linux (and no doubt this appears in other linux distributions as well). I have subversion installed.

For my website, I don’t particularly use eclipse, but I do like the visual aspect of merging back into subversion. (perhaps someone can suggest a better, or at least lighter tool).

Anyway, the fix is quite easy (thanks to someone elses pain).

Add the following 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:

  • http://robwilkerson.org/2008/10/01/stop-frequent-eclipse-crashes/