[英]An internal error occurred during: “Launching <myApp>”. Java heap space
When I run my Android app in Eclipse Juno it shows: 当我在Eclipse Juno中运行我的Android应用程序时,它显示:
An internal error occurred during: "Launching ". 在“启动”期间发生内部错误。 Java heap space". Java堆空间”。
I have modified my eclipse.ini
file with 我已经用修改了eclipse.ini
文件
Xms:1024m
Xmx:1024m
Unfortunately this did not solve the problem. 不幸的是,这并没有解决问题。
It's likely that OutOfMemoryError
occurs not in Eclipse, but in the spawned JVM where your application works. OutOfMemoryError
可能不是在Eclipse中发生的,而是在应用程序运行所在的JVM中发生的。 You should modify parameters in your run configuration. 您应该在运行配置中修改参数。 Go to Run -> Run Configurations, find your application run configuration in the left pane and select it. 转到运行->运行配置,在左窗格中找到您的应用程序运行配置,然后选择它。 On the right pane select "Arguments" tab, there should be "VM arguments" test field. 在右窗格中选择“ Arguments”选项卡,应该有“ VM arguments”测试字段。 Add there -Xmx1024m
. 在此添加-Xmx1024m
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.