Everytime I try to run eclipse, my system crashes, it just freezes the screen and I can't do anything. I've already installed the JDK and Eclipse from the official websites, exported the var JAVA_HOME and PATH (in path just added the path to the bin folder of the JDK)
There are someways to solve that:
- If you're running on 32 bit version of eclipse try to install 64 bit version.
Also It appears on old versions of eclipse try to install latest version. But if you are using older version than Kepler try to adding these two lines in your
(I didn't try them in Kepler or Luna maybe it works for them)
- If you are using OpenJDK try to install Oracle JDK.
Try to increase memory sizes (this way solve my problem before), So adding these lines to
-XX:PermSize=256m -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
Also you can read this article for more info.
I am also experiencing similar problems. Disk IO pegs out at 100% until the OS crashes.
Entering the following command in the terminal will allow Eclipse Oxygen to load and run properly:
export SWT_GTK3=0 ./eclipse &
I believe there is a problem that Eclipse has with the GTK toolkit.This is a temporary and annoying fix; however, I am hoping for a permanent fix.
eclipse.ini file didn't fix the problem. I still need to run the export command.