当前位置: 代码迷 >> Eclipse >> Eclipse老是卡死,网下加内存,关自动编译的方法都不顶用,大神帮忙看上
  详细解决方案

Eclipse老是卡死,网下加内存,关自动编译的方法都不顶用,大神帮忙看上

热度:104   发布时间:2016-04-23 12:47:09.0
Eclipse老是卡死,网上加内存,关自动编译的方法都不顶用,大神帮忙看下
!SESSION 2012-07-18 14:00:18.216 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.core.resources 2 10035 2012-07-18 14:00:31.105
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.ui 4 4 2012-07-18 14:20:11.404
!MESSAGE An internal error has occurred.

!ENTRY org.eclipse.ui 4 0 2012-07-18 14:20:13.208
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2012-07-18 14:20:14.047
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.osgi 4 0 2012-07-18 14:20:24.388
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!SESSION Wed Jul 18 14:20:25 CST 2012 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2012-07-18 14:20:25.153
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError: PermGen space



------解决方案--------------------
溢出……
------解决方案--------------------
java.lang.OutOfMemoryError: PermGen space
这个搜一下就知道了,改eclipse.ini参数:
--launcher.XXMaxPermSize
256M

这个参数一般不用设的太大,一般来说256就算非常大了
------解决方案--------------------
可以换个老版本的eclipse试试
------解决方案--------------------
难道通过任务管理器关闭进程也不行?
------解决方案--------------------
是这个:Java\jdk1.6.0_26\jre\lib\ext
有的时候为了让特定jar包在ClassLoader中的装载级别足够高,会把jar包扔在这里。

不过你这里面文件正常,没有其它包。


只能尝试下载adt以前的一些版本试试看了,也许最新版的可能跟你的系统环境不太兼容。
  相关解决方案