无法启动Gradle守护进程

问题描述

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的源代码。 并且我发布了--info的代码,希望大家能帮助我

解决方法

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

没有足够的可用内存来容纳您请求的-Xmx3g

  1. 构建工具本身实际上需要那么多吗?

  2. 您还有其他东西(尤其是其他Gradle守护程序)可以杀死。 Kill all Gradle Daemons Regardless Version?

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...