【发布时间】:2014-07-21 07:27:47
【问题描述】:
当我尝试打开 Eclipse 加载 GUI 然后关闭时,我遇到了 Eclipse IDE 的胎儿错误,每次打开 Eclipse IDE 时都会发生这种情况。
Error Loading DDMS Preferences
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5a0c9822a1, pid=4316, tid=140027354994432
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6c2a1] soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/eclipse/hs_err_pid4316.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug
解决方法
- 更改 Eclipse 所有者。
- 以 root 身份运行 eclipse。
- 在 /opt 上再次提取 jdk。
- 将 jre 从 /opt 链接到 /usr/bin。
但问题依然存在,任何帮助将不胜感激。
【问题讨论】:
-
什么是 Eclipse 的 PermGen 内存?
-
@unknown 512M
-Xms40m -Xmx512m -XX:MaxPermSize=512m