can't test my code in android.. ("Could not reserve enough space for object heap")

edited July 2014 in Android Mode
input: C:\ad\Android\android-sdk\tools\support\annotations.jar
input: C:\Users\ADARSH~1\AppData\Local\Temp\android1827993007544110366sketch\libs\processing-core.jar
Pre-Dexing C:\ad\Android\android-sdk\tools\support\annotations.jar -> annotations-9170f1befdcedf25d186daf8cafaa0f4.jar
       [dx] Error: Could not create the Java Virtual Machine.
       [dx] Error: A fatal exception has occurred. Program will exit.
       [dx] Error occurred during initialization of VM
       [dx] Could not reserve enough space for object heap

BUILD FAILED

i want to fix this error. os: windows 8.1

Answers

  • This message means that DX is trying to reserve too much memory. How much RAM does your system have? Do you run 32-bit or 64-bit? Have you messed with the JVM memory settings at all?

  • windows 8.1 64 bit processing is 32 bit java 32 bit.. 8 GB ram.. where i refer the jvm memory settings?

Sign In or Register to comment.