Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 gradle.properties file.

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

org.gradle.jvmargs=-Xmx1024m</em>

Read Gradle's configuration guide

Read about Java's heap siz

like image 240
Jennings Avatar asked Jun 22 '26 15:06

Jennings


1 Answers

Try this one.

Add this line at the end of your application gradle.properties

org.gradle.jvmargs=-Xmx512m -XX\:MaxPermSize\=512m
like image 60
Vishwa Avatar answered Jun 25 '26 10:06

Vishwa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!