問題描述
天哪,eclipse(它是 Gallileo,但在以前的版本中我也遇到過這樣的問題)再次崩潰,一如既往地無聲無息.這可能每周發生一次,但這真的很煩人.我現在只有一個崩潰日志.有什么方法可以找出這些崩潰的真正原因嗎?
OMG, eclipse (it's Gallileo, but with previous versions I also had such problems) crashed again, silently as always. That can happen one time per week, but this is really annoying. All I have now is a crash log. Are there any ways of discovering the true reason of these crashes?
崩潰日志的標題,看不到任何有用的東西:
Header of crash log, can't see anything useful:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d80f8d4, pid=1388, tid=3180
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode)
# Problematic frame:
# V [jvm.dll+0xcf8d4]
#
推薦答案
對于 Galileo,我建議嘗試使用最新的 JVM 啟動它;
For Galileo, I would recommend trying to launch it with the most recent JVM possible;
這并不意味著您必須使用該 JDK 編譯您的項目:您可以在 Eclipse 會話中聲明任意數量的 JDK.
That does not mean you have to compile your projects with that JDK: you can declare as many JDK you want within your eclipse session.
(來源:benmccann.com)
(雖然這張圖顯示的是jdk1.5,但是你可以用任何其他JVM啟動eclipse)
(although this picture shows jdk1.5, you can launch eclipse with any other JVM)
請參閱此 eclipse.ini 了解更多信息詳情.
See this eclipse.ini for more details.
正如最近的 線程說明,這可能會發生使用舊"的 eclipse.ini,因此值得檢查和更新 ini 文件.
As this recent thread illustrates, that can happens with an "old" eclipse.ini, so it is worth checking and updating the ini file.
這篇關于如何診斷日食崩潰?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!