无法执行DEX:Java堆空间的Java堆空间 [英] Unable to execute dex: Java heap space Java heap space
问题描述
我越来越无法执行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屋!