Questions tagged [gradle-daemon]
42 questions
2
votes
0 answers
Gradle 6+ Daemon Cannot accept connection from remote address
Ever since upgrading to gradle 6.x (tested on 6.0, 6.0.1, 6.1.1, 6.2.2) on one EC2 instance running ubuntu 18.04, I can't get a gradle daemon to start, they just endlessly create and crash with the Error "Cannot accept connection from remote address…

Novaterata
- 4,356
- 3
- 29
- 51
2
votes
1 answer
Is there way to connect to Gradle daemon launched by Gradle Tooling APIs from command line
When IDE compiles gradle project there is java process in memory ( about 250MB).
However launching gradle buld --daemon other daemon java process is launched (about 150MB)
https://i.stack.imgur.com/9SUBd.png
Is there way to connect to Gradle daemon…

Paul Verest
- 60,022
- 51
- 208
- 332
1
vote
0 answers
Jenkins gradle daemons can't seem to be re-used or cleaned up and crashes system after couple of consecutive builds
I've got Jenkins configured for running about 50 consecutive app builds, but somehow after a build or 7-10 the heap seems to get flooded, occasionally crashing my system.
The Jenkins console output would show me something like:
Starting a Gradle…

Rik van Velzen
- 1,977
- 1
- 19
- 37
0
votes
0 answers
How can I run the Gradle Daemon within an Eclipse Application?
When executing a Gradle build, I would like to use and from Gradle. But the Ant tasks I intend to use are Eclipse Platform Contributions. This means that the tasks will call out into OSGi. In order to make this happen, I would need to run the Gradle…

Jörn Guy Süß
- 1,408
- 11
- 18
0
votes
1 answer
Preparing "Install Android SDK Tools (revision: 26.1.1)". <=============> 100% CONFIGURING [36s] > IDLE
info JS server already running.
info Launching emulator...
info Successfully launched emulator.
info Installing the app...
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details
Checking the license for…

Salman Hamza
- 21
- 1
- 6
0
votes
0 answers
GraalVM native-image: Is it possible to start a Gradle daemon?
I want to build a GraalVM native image (CLI app) that uses/calls the Gradle Tooling API.
In order to do that, a Gradle daemon must exist. So far it seems as though a native image cannot start a Gradle daemon. I suspect it is due to reflection and/or…

SwirlingJoe
- 51
- 1
- 1
0
votes
1 answer
Where is the gradle process on Windows task manager?
With gradle --status I can see the gradle PID, which is for example:
PID STATUS INFO
12868 IDLE 7.4.1
Yet, on Windows Task Manager there is no process with PID 12868. I cannot find either any process with gradle on name.
Where is the…

Miguel Gamboa
- 8,855
- 7
- 47
- 94
0
votes
1 answer
Gradle : Cleanup resources after build failure
I execute test suite through Gradle for the build and it spins up a lots of processes on different ports. Also, failFast is set to true for my test task. So, following happens when I execute my suite:
Suite starts up and spins up processes/servers…

Darshan Mehta
- 30,102
- 11
- 68
- 102
0
votes
0 answers
How to solve android studio error Gradle Sync?
Android Studio was working fine until I updated its version from 3.1.4 to 3.5.2
I tried to open my project but The following error appears in gradle sync:
ERROR: Unable to start the daemon process.
This problem might be caused by incorrect…

Ahmad
- 397
- 2
- 7
- 18
0
votes
2 answers
Android - Daemon process not running
I'm trying to start an android project however each time i'm faces with the same
problem of having the daemon process being unable to run.
This the second time i'm faces with the problem, in the last time it required uninstalling the android SDK &…

Bara' Hashesh
- 129
- 7
0
votes
1 answer
How to disable gradle daemon in Cordova
How can I stop cordova from using gradle daemon?
I tried already these:
put gradle.properties containing org.gradle.daemon=false in ~/.gradle folder doesnt work
put gradle.properties containing org.gradle.daemon=false in project directory…

sprooch
- 21
- 5
0
votes
1 answer
How to enable the gradle daemon in Netbeans?
While it's possible to run gradle from the CLI:
thufir@mordor:~/NetBeansProjects/gradle$
thufir@mordor:~/NetBeansProjects/gradle$ clear;gradle clean build;java -jar build/libs/gradle.jar
:clean
:compileJava
:processResources…

Thufir
- 8,216
- 28
- 125
- 273