Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 667 Bytes

File metadata and controls

17 lines (15 loc) · 667 Bytes

How to monitor Gradle daemon CPU & RAM usage (or any other JVM proccess)

  1. Install and open VisualVM
brew casks install visualvm
  1. Stop existing daemons
./gradlew --stop
  1. When e.g. running Android compilation, Gradle will spawn two daemons: Gradle Daemon and Kotlin Compile Daemon. To merge those two into one daemon, specify kotlin compiler execution strategy like this:
-Dkotlin.compiler.execution.strategy="in-process"
  1. See results on the right, it should be simillar to this:

spire_without_desugar