Posted May 6, 20214 yr When i try to build my mod i get the following error: 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.8.1/userguide/gradle_daemon.html Process command line: C:\Program Files (x86)\Java\jre1.8.0_271\bin\java.exe -Xmx3G -Dfile.encoding=windows-1252 -Duser.country=CA -Duser.language=en -Duser.variant -cp C:\Users\ewanj\.gradle\wrapper\dists\gradle-6.8.1-all\923to48kq3drqywuppfjkcokx\gradle-6.8.1\lib\gradle-launcher-6.8.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.8.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
May 6, 20214 yr 33 minutes ago, eggpasta said: Could not reserve enough space for 3145728KB object heap You're running out of memory. You have a 32-bit Java by the looks of it, if you have a 64 bit system, get 64 bit Java. If you for some reason are actually running a 32 bit system, I'm not sure there is anything you can do besides upgrade, since 32 bit systems only support ~3GB max ram.
May 6, 20214 yr Author Just now, Ugdhar said: You're running out of memory. You have a 32-bit Java by the looks of it, if you have a 64 bit system, get 64 bit Java. If you for some reason are actually running a 32 bit system, I'm not sure there is anything you can do besides upgrade, since 32 bit systems only support ~3GB max ram. Where do i get 64 bit java?
May 6, 20214 yr https://adoptopenjdk.net/?variant=openjdk8&jvmVariant=hotspot You might also want to uninstall the 32-bit JRE you have
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.