關於 JDeveloper 出現 unable to create an instance of the java virtual machine 錯誤的解決辦法

  這是由於 -Xmx 參數設置太大產生的結果。

  打開%JDEV_HOME%/ide/bin/ide.conf文件,可以看到這樣一段話:


#

# If you are getting the 'Low Memory Warning' Message Dialog while running

# JDeveloper, please increase the -Xmx value below from the default 768M to

# something greater, like 1024M or 1250M.  If after increasing the value,

# JDeveloper is no longer starting up because it fails to create a virtual

# machine, then please reduce the modified -Xmx value.

#

AddVMOption  -Xmx640M

AddVMOption  -Xms128M

 

把AddVMOption  -Xmx640M改成AddVMOption  -Xmx256M,然後保存,重新啓動JDeveloper即可。

 

SQLDeveloper如果出現一樣的問題也可以用相同的辦法解決。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章