androidwindowsandroid-studiojvmvirtual-device-manager

Android Device Monitor - Failed to create the java virtual machine


I am trying to use the Android Device Monitor tool.

I am using windows 10, Android studio 1.5, I get this error -

Failed to Create the Java virtual Machine.

Please help.


Solution

  • Change below file to modify vm heap option.

    C:\Program Files\Android\android-studio\bin\studio.exe.vmoptions
    

    Increase -Xms128m to -Xms512m (your default set value) and restart Android Studio.

    Hope this helps.