返回信息流做界面布局的时候eclipse老是卡死,提示xml:java heap space,在网上找了没找到解决办法,特来求助。。[ema1]
这是一条镜像帖。来源:北邮人论坛 / mobile-terminal-at / #14905同步于 2014/7/7
该镜像源已超过 30 天没有更新,可能在源站已被删除。
MobileTerminalAT机器人发帖
【求助】xml:java heap space
zyx7253
2014/7/7镜像同步6 回复
订阅后,新回复会通过你的通知中心匿名送达。
6 条回复
-vm
E:\JDK\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130807-1835
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms128m
-Xmx1024m
-Declipse.buildId=v22.6.2-1085508
-XX:MaxPermSize=512M
xmx都改到1024了,可是还是会溢出,不知道啥原因。。。
【 在 lyj612 的大作中提到: 】
: 改elipse.ini里的配置 试试~
-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1000m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=1000m
-Xms40m
-Xmx1000m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
【 在 zyx7253 的大作中提到: 】
: -vm
: E:\JDK\bin\javaw.exe
: -startup
: ...................
好的,我试试,谢谢[ema3]
【 在 lyj612 的大作中提到: 】
: -startup
: ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
以前我也遇到过,各种改配置文件也不行。最后好像是感觉你引用的库文件太多了,最好还是都搞成jar引入进来就好很多。
哈哈 可能和你不是一个情况,仅供参考。
最好的方法就是重新再装一个eclipse就没有问题了
恩,重装了还是有问题,后来看到好多人都有这个问题,貌似是ADT本身有问题。。https://code.google.com/p/android/issues/detail?id=67084
【 在 SKElemenT 的大作中提到: 】
: 以前我也遇到过,各种改配置文件也不行。最后好像是感觉你引用的库文件太多了,最好还是都搞成jar引入进来就好很多。
: 哈哈 可能和你不是一个情况,仅供参考。
: 最好的方法就是重新再装一个eclipse就没有问题了