无法执行DEX:Java堆空间的Java堆空间 [英] Unable to execute dex: Java heap space Java heap space

查看:178
本文介绍了无法执行DEX:Java堆空间的Java堆空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我越来越无法执行DEX:Java堆空间的Java堆空间错误,而执行在Eclipse IDE中的网络驱动器的脚本。我已经配置Eclipse IDE中使用Android SDK和AVD管理。

I am getting Unable to execute dex: Java heap space Java heap space error while executing web driver script in Eclipse IDE. I have configured Eclipse IDE with Android SDK and AVD Manager.

我还增加了 -Xms200m -Xmx512m ,但没有奏效。

I also increased the -Xms200m to -Xmx512m but it did not work.

推荐答案

接受的解决方案,以这篇文章为我工作: <一href="http://stackoverflow.com/questions/5943712/conversion-to-dalvik-format-failed-unable-to-execute-dex-java-heap-space">Conversion到的Dalvik格式失败:无法执行DEX:Java堆空间

The accepted solution to this post worked for me: Conversion to Dalvik format failed: Unable to execute dex: Java heap space

的要点是:不断增加的在XMS,XMX值,直到它的作品,或者你用完物理内存

The gist is: Keep increasing the Xms and Xmx values until it either works or you run out of physical memory.

例如: -XX:MaxPermSize =1536米 -Dosgi.requiredJavaVersion = 1.5 -Xms40m -Xmx1536m

E.g.: -XX:MaxPermSize=1536m -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx1536m

这篇关于无法执行DEX:Java堆空间的Java堆空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆