2015-02-24 99 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