Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Unable to Start the Daemon Process


KiMaster
 Share

Recommended Posts

When attempting to run any Gradle commands in Windows command prompt (specifically gradlew setupDecompWorkspace in the following response, but I get the same with gradlew tasks, etc) I get the error "Build failed with an exception...   ...Unable to start the daemon process". I have attached the debug response (The basic response was incredibly short and not). Any idea how to fix this? I have jdk1.8.0_221, same as the JRE I have installed, do I just need to update both to a later version? Any help would be greatly appreciated, I'm incredibly new to this.

00:18:07.409 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServi
ces] Native-platform posix files is not available.  Continuing with fallback.
00:18:07.428 [DEBUG] [org.gradle.internal.nativeintegration.filesystem.services.
FileSystemServices] Using JDK 7 file service org.gradle.internal.nativeintegrati
on.filesystem.jdk7.WindowsJdk7Symlink
00:18:07.809 [LIFECYCLE] [org.gradle.launcher.daemon.client.SingleUseDaemonClien
t] To honour the JVM settings for this build a new JVM will be forked. Please co
nsider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.ht
ml.
00:18:07.828 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Us
ing daemon args: [C:\Program Files (x86)\Java\jdk1.8.0_221\bin\java.exe, -Xmx3G,
 -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.var
iant, -cp, C:\Users\USER\.gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3
ieqtsukq90mp0rxk\gradle-2.14\lib\gradle-launcher-2.14.jar]
00:18:07.831 [INFO] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Sta
rting daemon process: workingDir = C:\Users\USER\.gradle\daemon\2.14, da
emonArgs: [C:\Program Files (x86)\Java\jdk1.8.0_221\bin\java.exe, -Xmx3G, -Dfile
.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.variant, -
cp, C:\Users\USER\.gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsuk
q90mp0rxk\gradle-2.14\lib\gradle-launcher-2.14.jar, org.gradle.launcher.daemon.b
ootstrap.GradleDaemon, 2.14]
00:18:07.868 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting pro
cess 'Gradle build daemon'. Working directory: C:\Users\USER\.gradle\dae
mon\2.14 Command: C:\Program Files (x86)\Java\jdk1.8.0_221\bin\java.exe -Xmx3G -
Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant
-cp C:\Users\USER\.gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsuk
q90mp0rxk\gradle-2.14\lib\gradle-launcher-2.14.jar org.gradle.launcher.daemon.bo
otstrap.GradleDaemon 2.14
00:18:07.868 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment
 for process 'Gradle build daemon': {USERDOMAIN_ROAMINGPROFILE=LAPTOP, PROCES
SOR_LEVEL=6, FP_NO_HOST_CHECK=NO, SESSIONNAME=Console, ALLUSERSPROFILE=C:\Progra
mData, INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Librari
es\, PROCESSOR_ARCHITECTURE=x86, MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Comm
on Files\Intel\Shared Libraries\compiler\lib\mic, NVIDIAWHITELISTED=0x01, PSModu
lePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, SystemDrive=C:, =Exi
tCode=00000000, DIRNAME=C:\Users\USER\MinecraftWorkspace\forge-1.12.2-14
.23.5.2768-mdk\, USERNAME=USER, CMD_LINE_ARGS=setupDecompWorkspace --deb
ug, ProgramFiles(x86)=C:\Program Files (x86), APP_HOME=C:\Users\USER\Min
ecraftWorkspace\forge-1.12.2-14.23.5.2768-mdk\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS
;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITEW6432=AMD64, SHIM_MCCOMPAT=0x810
000001, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, HOMEPATH=\Use
rs\USER, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, Genu
ineIntel, ProgramFiles=C:\Program Files (x86), PUBLIC=C:\Users\Public, windir=C:
\Windows, =::=::\, _SKIP=2, LOCALAPPDATA=C:\Users\USER\AppData\Local, US
ERDOMAIN=LAPTOP, LOGONSERVER=\\LAPTOP, PROMPT=$P$G, asl.log=Destination=fi
le, =C:=C:\Users\USER\MinecraftWorkspace\forge-1.12.2-14.23.5.2768-mdk,
APPDATA=C:\Users\USER\AppData\Roaming, GTK_BASEPATH=C:\Program Files (x8
6)\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:\P
rogramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared
 Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\Sys
tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Gt
kSharp\2.12\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common, OS=Windo
ws_NT, COMPUTERNAME=LAPTOP, PROCESSOR_REVISION=3c03, CLASSPATH=C:\Users\USER\MinecraftWorkspace\forge-1.12.2-14.23.5.2768-mdk\\gradle\wrapper\gradle-
wrapper.jar, CommonProgramW6432=C:\Program Files\Common Files, ComSpec=C:\Window
s\system32\cmd.exe, APP_BASE_NAME=gradlew, SystemRoot=C:\Windows, TEMP=C:\Users\
USER~1\AppData\Local\Temp, HOMEDRIVE=C:, USERPROFILE=C:\Users\USER, TM
P=C:\Users\USER~1\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files
 (x86)\Common Files, NUMBER_OF_PROCESSORS=8}
00:18:07.868 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing st
ate to: STARTING
00:18:07.875 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting unt
il process started: Gradle build daemon.
00:18:07.882 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing st
ate to: STARTED
00:18:07.882 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting unti
l streams are handled...
00:18:07.882 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully
 started process 'Gradle build daemon'
00:18:07.882 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
 Starting consuming the daemon process output.
00:18:07.882 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Gr
adle daemon process is starting. Waiting for the daemon to detach...
00:18:07.914 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
 daemon out: Error occurred during initialization of VM
00:18:07.914 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
 daemon out: Could not reserve enough space for 3145728KB object heap
00:18:07.916 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing st
ate to: DETACHED
00:18:07.927 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'Gr
adle build daemon' finished with exit value 0 (state: DETACHED)
00:18:07.927 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Gr
adle daemon process is now detached.
00:18:07.928 [INFO] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] An
attempt to start the daemon took 0.095 secs.
00:18:07.931 [ERROR] [org.gradle.BuildExceptionReporter]
00:18:07.931 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed w
ith an exception.
00:18:07.931 [ERROR] [org.gradle.BuildExceptionReporter]
00:18:07.931 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter] Unable to start the dae
mon 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/
2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter] Could not reserve enoug
h space for 3145728KB object heap
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter]
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter]
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
00:18:07.932 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace o
ption to get the stack trace.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.