Skip to main content

Posts

Showing posts with the label JVM

Android-Studio : Error: Could not create the Java Virtual Machine

Solution: Changed below file to modify vm heap option. C:\Program Files\Android\android-studio\bin\studio.exe.vmoptions & increased -Xms128m to -Xms512m and restarted Android Studio. You should create a new environment variable named _JAVA_OPTIONS, set it to -Xms256m -Xmx1024m and it should work. Follow this steps: Run regedit Go to HKEY_CURRENT_USER Select Environment Add a new String Value and enter _JAVA_OPTIONS for Value name Enter -Xms256m -Xmx512m for Value data Reboot computer