Ren'Py Unable to start the daemon process

PandaJoe

New Member
May 7, 2020
2
0
When I am trying to port the game to android I get this error

Code:
Ren'Py 8.1.0.23051307

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html.

FAILURE: Build failed with an exception.

* What went wrong:
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 Manual chapter on the daemon at https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jre-1.8\bin\java.exe -Xmx3g -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\xunn\.gradle\wrapper\dists\gradle-6.1.1-bin\4i3ntwqiazourd86epxcz427c\gradle-6.1.1\lib\gradle-launcher-6.1.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.1.1
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org




The build seems to have failed.
can someone help me fix this?
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,302
15,173
When I am trying to port the game to android I get this error

Code:
[...]
Could not reserve enough space for 3145728KB object heap
[...]
can someone help me fix this?
Well, apparently the said daemon need at least 3.1 GB of RAM, what he failed to find.

So, either increase the RAM size, or edit the configuration to let it use more than actually.
 

PandaJoe

New Member
May 7, 2020
2
0
Well, apparently the said daemon need at least 3.1 GB of RAM, what he failed to find.

So, either increase the RAM size, or edit the configuration to let it use more than actually.
How can I edit it through the config. ? I tried increasing the RAM but it didn't work