Version of Android Studio 2.2 OS version: Windows 10 Java JRE/JDK version: 1.8.0_51
Error:Unable to start the daemon process. This problem might be
caused by incorrect configuration of the daemon. For example, an
unrecognized jvm option is used. Please refer to the user guide
chapter on the daemon at
https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html Please
read the following process output to find out more:
----------------------- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
Im using Android studio version 2.2.2 on win 10 (32 bit) and this is how i fix this issue:
add this line instead of following line in gradle.properties file
comment this line #org.gradle.jvmargs=-Xmx1536m
add this line
org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With