- Use SUN JDK 1.5.
- Prevent org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith() from being compiled by the hotspot engine:
cd /usr/local/java/eclipse
echo "exclude org/eclipse/core/internal/dtree/DataTreeNode forwardDeltaWith"
> .hotspot_compiler
The Workarounds for Eclipse Crash with JDK 1.6.0.05+
2008-03-28 14:58
Eclipse crashes almost always with SUN JDK 1.6.0.05 or above. There are two workarounds:
Comments
5 Comments
it may be a problem with the perm gen size. If you have a lot of loaded plugins, like WTP or such phat guys, Sun JVM may crash with OOM errors (typically, out of heap space errors).
Just increase your perm gen in the eclipse launcher :
eclipse -data $HOME/ws-myworkspace -vm $JAVA_HOME/bin/java -vmargs -Xmx500M -XX:PermSize=128M -XX:MaxPermSize=256M
Or switch to Jrockit or IBM JVM.
— Emmanuel Lécharny · 2008-03-28 17:26 · # · Reply
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
— Trustin Lee · 2008-03-29 01:04 · # · Reply
— Trustin Lee · 2008-04-21 14:36 · # · Reply
« Adding the latest beta SUN JDK to the Gentoo java-config VM list 나의 메일 관리 원정기 »
— Ortwin · 2008-03-28 17:12 · # · Reply