2015-02-24 57 views
1

我遇到IntelliJ问题。过去我一直没有问题使用它,但由于启动时出现以下错误,最近无法使用。IntelliJ无法运行o启动

[email protected]:~/idea-IU-139.1117.1$ ./bin/idea.sh 
Exception in thread "AWT-XAWT" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "AWT-XAWT" 

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0 14.0.3#IU-139.1117.1, eap:false" 
Exception in thread "Performance watcher" 
Exception: java.lang.OutOfMemoryError thrown from theUncaughtExceptionHandler in thread "Performance watcher" 

异常:在线程从UncaughtExceptionHandler的抛出java.lang.OutOfMemoryError“定时器0”

我试图增加我vmoptions,但并未奏效。我甚至尝试重新安装。

机:Ubuntu的,64位

+0

我有3个问题。你使用OpenJDK还是Oracle JDK?它的版本是什么?以前有没有IntelliJ IDEA启动成功? – 2015-02-24 16:39:15

回答

1

因为这一行:Exception: java.lang.OutOfMemoryError,我想你对内存堆大小的问题。 您应该尝试更改Java堆大小。

sudo nano /etc/profile 

加入这一行:

_JAVA_OPTIONS = -Xms1024m -Xmx1024m 

与1024 MB的内存堆大小,您可以更改此值。

参考:Setting environment variables permanentlyJVM options