Unable to execute dex: Java heap space Java heap space

前端 未结 5 1022
梦谈多话
梦谈多话 2021-02-05 02:30

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 AV

5条回答
  •  感动是毒
    2021-02-05 02:41

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

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

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

提交回复
热议问题