Fixing eclipse crashes on a 64 bit JVM
I mentioned in my earlier post that eclipse 3.4 was acting bad on 64 bit JVM. I was finally able to rectify it. The root cause is an access violation and I could trace down this bug on the sun website http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6659207. There are posts on the internet where people have fixed this by either switching to a 32 bit OS or a 32 bit JVM - both these are not necessary.
The trick was to increase the perm-gen space and adding the following line to my eclipse.ini file:
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
At the end of it all - here is what my eclipse.ini file for ganymede looks like.
-showsplash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
The subclipse plugin works flawlessly without any problems as well.

Leave a comment