I just upgraded my Ubuntu to 14.04 a few days ago and in the process switched from 32 to 64 bits. Ever since, Eclipse has gotten really unstable. After having run for a few minu
Had the same problem and Lars' article solved it for me. Seems to be an issue with SWT and GTK3.
Had the same problem for a few days. Added the following line in the end of eclipse.ini and it solved for me:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
Update
https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776
There are a couple of workarounds in the comment thread. Folowing to the comment 22, I've added this to my eclipse.ini.
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner/1.8.0.1/xulrunner
I had installed xulrunner into this directory for some reason, don't know why exactly this version.
This is not really an answer but I need the space for pasting in the data of my system config. Just for comparison, hope it helps.
I have this same problem when I work on PHP projects, and it annoys me too: Sometimes eclipse 4.3 crashes on Ubuntu 14.04 64-bit when I hit the keystroke combination for content assist / autocompletion (Shift+Space). Happened on 13.10 as well.
I have no clue what migtht cause the error. However, I noticed that my system has very little free memory. Moreover the JAVA_HOME variable pointed to an older path of the JRE.
Maybe Alt-F2 and typing unity --replace & helps. Alternatively maybe you can send a HUP signal to com?piz
My eclipse configuration
(beginning of Help/About Eclipse/Installation Details/System Configuration:
eclipse.buildId=4.3.2.M20140221-1700
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
/opt/eclipse/eclipse43jee//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
-launcher
/opt/eclipse/eclipse43jee/eclipse
-name
Eclipse
--launcher.library
/opt/eclipse/eclipse43jee//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212/eclipse_1508.so
-startup
/opt/eclipse/eclipse43jee//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata
e5000d
-product
org.eclipse.epp.package.jee.product
-vm
/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
eclipse.home.location=file:/opt/eclipse/eclipse43jee/
eclipse.launcher=/opt/eclipse/eclipse43jee/eclipse
eclipse.launcher.name=Eclipse
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=epp.package.jee
eclipse.product=org.eclipse.epp.package.jee.product
eclipse.startTime=1398324869065
eclipse.vm=/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
eclipse.vmargs=-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni
-Dhelp.lucene.tokenizer=standard
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx3072m
-jar
/opt/eclipse/eclipse43jee//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
gosh.args=--nointeractive
help.lucene.tokenizer=standard
http.nonProxyHosts=
http.proxyHost=127.0.0.1
http.proxyPort=8118
http.proxySet=true
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/opt/eclipse/eclipse43jee//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/java-6-openjdk-amd64/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/x86_64-linux-gnu/jni
java.runtime.name=OpenJDK Runtime Environment
java.runtime.version=1.6.0_31-b31
I faced the same problem and still face it. though the frequency is somewhat become lesser after I increased JVM size in the file "eclipse.ini" just change these lines:
-XX:MaxPermSize=256m
-Xms256m
-Xmx2048m
and start Eclipse from terminal :~/Desktop/eclipse$ ./eclipse
It will decrease the frquency of freezing if not resolve it completely. Hope it helps.