无法启动gradle守护进程

ymdaylpp  于 2021-07-12  发布在  Java
关注(0)|答案(1)|浏览(438)
Initialized native services in: C:\Users\PC-1\.gradle\native
Removing 0 daemon stop events from registry
Starting a Gradle Daemon (subsequent builds will be faster)
Starting process 'Gradle build daemon'. Working directory: C:\Users\PC-1\.gradle\daemon\4.10.3 Command: C:\Program Files
 (x86)\Java\jre1.8.0_261\bin\java.exe -Xmx3g -Dfile.encoding=windows-1254 -Duser.country=TR -Duser.language=tr -Duser.va
riant -cp C:\Users\PC-1\.gradle\wrapper\dists\gradle-4.10.3-all\81msde2dx9p4vji0mjgtvxkcb\gradle-4.10.3\lib\gradle-launc
her-4.10.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.10.3
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.096 secs.

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 --debug option to get more log output. Run with --scan to
get full insights.

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

首先,我在删除了.gradle之后下载了lquidbounce的源代码,我发布了——代码信息,希望你们能帮我

dgenwo3n

dgenwo3n1#

Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap

没有足够的可用内存来满足您的请求 -Xmx3g .
构建工具本身真的需要这么多吗?
你有其他的东西(特别是其他gradle守护进程)你可以杀死。杀死所有的gradle守护进程?

相关问题