【发布时间】:2014-04-21 12:18:12
【问题描述】:
我在过去 3 小时内一直遇到这个错误。当我从 SVN 签出最新代码后,它突然停止工作。
注意:
我的新项目大小约为 135 MB 我正在使用 Eclipse 开普勒。
myApp/res/libs 中还有 3 个 jar,分别命名为 sqlite.jar、ksoap2.jar、rt.jar
所以我用谷歌搜索并找到了This Answer。还有Blog 1 和Blog 2 我已经编辑了eclipse.ini
发件人:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
到
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
但它仍然无法正常工作并在 eclipse 中出现相同的错误。 任何帮助将不胜感激。
【问题讨论】:
-
也许尝试增加内存甚至超过 1024
-
@Vinay Lodha 感谢您的回复,但我该怎么办?我有 4GB 内存,所以我应该将大小从 1024 增加到 2048 吗?
-
试过但没有得到任何解决方案。
-
如果它不适用于 2048 RAM,那么我想它与内存无关。我想我没主意了。
标签: android eclipse dalvik dex