Posted on Leave a comment

Killing all Processes by Name with killall

Asked Gradle to stop but it ignored me.

./gradlew --stop

This is the most efficient method to cleanup after Gradle build.

killall java

Disable Gradle Daemon in /.gradle/gradle.properties

org.gradle.daemon=false

This extreme measure was needed to prevent the greedy daemons from gobbling up all the memory, causing host OS swap file size to increase significantly, that would actually slow things down on the contrary to what Gradle daemon is supposed to do, speeding up. It appears to me that Gradle only cares about its compiling time, ignoring the user’s need of memory for fast responsive IDE, UI etc.

Leave a Reply

Your email address will not be published. Required fields are marked *