试图从Eclipse中运行Android应用:卡之间的"堆空间"和"无法创建JVM"
问题描述:
我想从日食内推出一个Android应用程序。如果我的eclipse.ini包含
I am trying to launch an android app from within eclipse. If my eclipse.ini contains
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms512m
-Xmx512m
然后我得到堆空间不足。如果我增加XMX 1024,同时保持在的Xms 512,我得到无法创建JVM当我开始蚀。如果我设置为的Xms而不是1024,日食无法启动没有任何错误消息。
then I get "out of heap space". If I increase Xmx to 1024 while keeping Xms at 512, I get "failed to create jvm" when I start eclipse. If I set Xms to 1024 instead, eclipse fails to start without any error messages.
我能做些什么来得到它的工作? THX
What can I do to get it to work? Thx