简体   繁体   English

在以下过程中发生内部错误:“启动 <myApp> ”。 Java堆空间

[英]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.

相关问题 期间发生内部错误:“更新索引”。eclipse 启动期间的Java 堆空间? - An internal error occurred during: "Updating indexes".Java heap space during eclipse start up? 在“检索原型:”期间发生内部错误。 Java 新建 Maven 项目时的堆空间 - An internal error occurred during: "Retrieving archetypes:". Java heap space when creating new Maven project 在以下过程中发生内部错误:“启动MyFirstApp”。 java.lang.NullPointerException - An internal error occurred during: “Launching MyFirstApp”. java.lang.NullPointerException TestNG 启动时发生内部错误 - TestNG An internal error occurred during launching 在Eclipse中启动testng时发生内部错误 - An internal error occurred during launching testng in eclipse Eclipse - JUnit - 在“启动 MyMavenModule”期间发生内部错误。 空指针异常 - Eclipse - JUnit - An internal error occurred during: “Launching MyMavenModule”. NullPointerException JUnit4 + Eclipse“启动期间发生内部错误” - JUnit4 + Eclipse “An internal error occurred during Launching” VM初始化期间发生错误; 无法为对象堆保留足够的空间; 无法创建Java虚拟机 - Error occurred during initialization of VM; Could not reserve enough space for object heap; Could not create the Java virtual machine VM 初始化过程中发生错误 无法为对象堆保留足够的空间 无法创建 Java 虚拟机 - Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine VM初始化期间发生Java错误无法为对象堆保留足够的空间 - Java Error occurred during initialization of VM Could not reserve enough space for object heap
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM