So I’m trying to run a Powershell command which goes like “./gradlew setupDecompWorkspace eclipse” and now it gives me this error that I don’t know how to fix. "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 guide chapter on the daemon at https://docs.gradle.org/4.10.3/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 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"
Now after I add --debug it gives me this.
“20:28:09.068 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: C:\Users\Booney_X-mas_PC.gradle\native
20:28:09.295 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Native-platform posix files integration is not available. Continuing with fallback.
20:28:09.489 [LIFECYCLE] [org.gradle.launcher.daemon.client.SingleUseDaemonClient] To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.20:28:09.710 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Using daemon args: [C:\Program Files (x86)\Java\jre1.8.0_251\bin\java.exe, -Xmx3G, -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.variant, -cp, C:\Users\Booney_X-mas_PC.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3\lib\gradle-launcher-4.10.3.jar]
20:28:09.715 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Starting daemon process: workingDir = C:\Users\Booney_X-mas_PC.gradle\daemon\4.10.3, daemonArgs: [C:\Program Files (x86)\Java\jre1.8.0_251\bin\java.exe, -Xmx3G, -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.variant, -cp, C:\Users\Booney_X-mas_PC.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3\lib\gradle-launcher-4.10.3.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 4.10.3]
20:28:09.737 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process ‘Gradle build daemon’. Working directory: C:\Users\Booney_X-mas_PC.gradle\daemon\4.10.3 Command: C:\Program Files (x86)\Java\jre1.8.0_251\bin\java.exe -Xmx3G -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\Booney_X-mas_PC.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3\lib\gradle-launcher-4.10.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.10.3
20:28:09.737 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process ‘Gradle build daemon’: {USERDOMAIN_ROAMINGPROFILE=LAPTOP-2T0PQB2J, PROCESSOR_LEVEL=6, SESSIONNAME=Console, ALLUSERSPROFILE=C:\ProgramData, PROCESSOR_ARCHITECTURE=x86, PSModulePath=C:\Users\Booney_X-mas_PC\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules, SystemDrive=C:, =ExitCode=00000000, DIRNAME=C:\Users\Booney_X-mas_PC\Desktop\MC Develoment\Forge, USERNAME=Booney_X-mas_PC, CMD_LINE_ARGS=setupDecompWorkspace eclipse --debug, ProgramFiles(x86)=C:\Program Files (x86), FPS_BROWSER_USER_PROFILE_STRING=Default, APP_HOME=C:\Users\Booney_X-mas_PC\Desktop\MC Develoment\Forge, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL, DriverData=C:\Windows\System32\Drivers\DriverData, OneDriveConsumer=C:\Users\Booney_X-mas_PC\OneDrive, PROCESSOR_ARCHITEW6432=AMD64, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, HOMEPATH=\Users\Booney_X-mas_PC, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 10, GenuineIntel, ProgramFiles=C:\Program Files (x86), PUBLIC=C:\Users\Public, windir=C:\WINDOWS, =::=::, _SKIP=2, LOCALAPPDATA=C:\Users\Booney_X-mas_PC\AppData\Local, USERDOMAIN=LAPTOP-2T0PQB2J, FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer, LOGONSERVER=\LAPTOP-2T0PQB2J, PROMPT=$P$G, OneDrive=C:\Users\Booney_X-mas_PC\OneDrive, =C:=C:\Users\Booney_X-mas_PC\Desktop\MC Develoment\Forge, APPDATA=C:\Users\Booney_X-mas_PC\AppData\Roaming, GTK_BASEPATH=C:\Program Files (x86)\GtkSharp\2.12, JAVA_EXE=java.exe, CommonProgramFiles=C:\Program Files (x86)\Common Files, Path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Users\Booney_X-mas_PC\AppData\Local\Microsoft\WindowsApps;, OS=Windows_NT, COMPUTERNAME=LAPTOP-2T0PQB2J, PROCESSOR_REVISION=8e0a, CLASSPATH=C:\Users\Booney_X-mas_PC\Desktop\MC Develoment\Forge\gradle\wrapper\gradle-wrapper.jar, CommonProgramW6432=C:\Program Files\Common Files, ComSpec=C:\WINDOWS\system32\cmd.exe, APP_BASE_NAME=gradlew, SystemRoot=C:\WINDOWS, TEMP=C:\Users\BOONEY~1\AppData\Local\Temp, HOMEDRIVE=C:, USERPROFILE=C:\Users\Booney_X-mas_PC, TMP=C:\Users\BOONEY~1\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=4}
20:28:09.737 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
20:28:09.739 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: Gradle build daemon.
20:28:09.752 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
20:28:09.752 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process ‘Gradle build daemon’
20:28:09.752 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Gradle daemon process is starting. Waiting for the daemon to detach…
20:28:09.753 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled…
20:28:09.753 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer] Starting consuming the daemon process output.
20:28:09.828 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer] daemon out: Error occurred during initialization of VM
20:28:09.830 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer] daemon out: Could not reserve enough space for 3145728KB object heap
20:28:09.834 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: DETACHED
20:28:09.834 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Gradle daemon process is now detached.
20:28:09.834 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process ‘Gradle build daemon’ finished with exit value 0 (state: DETACHED)
20:28:09.835 [INFO] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] An attempt to start the daemon took 0.119 secs.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Unable to start the daemon process.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] This problem might be caused by incorrect configuration of the daemon.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] For example, an unrecognized jvm option is used.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Please read the following process output to find out more:
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] -----------------------
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Error occurred during initialization of VM
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not reserve enough space for 3145728KB object heap
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
20:28:09.850 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org”