Error: Unable to start the daemon process:


Error:Unable to start the daemon process: could not reserve enough space for object heap.

Please assign more memory to Gradle in the project's file.

For example, the following line, in the file, sets the maximum Java heap size to 1,024 MB:


Read Gradle's configuration guide

Read about Java's heap siz

Try this one.

Add this line at the end of your application

org.gradle.jvmargs=-Xmx512m -XX\:MaxPermSize\=512m