Javi
06/23/2025, 12:09 PM./gradlew build in the terminal and getting IDEA/AS totally frozen during seconds or minutes is really annoying.
Is there a workaround to just limit Gradle to use 90% CPU usage or something similar?Jendrik Johannes
06/23/2025, 12:12 PM--max-workers=2 on command line or
• org.gradle.workers.max=2 in gradle.properties (in your Gradle user home to have it for any Gradle invocation)Javi
06/23/2025, 12:13 PMAdam
06/23/2025, 12:46 PM--priority low (or in `gradle.properties`: org.gradle.priority=low)Markus Maier
06/24/2025, 10:06 AMgradle.properties.
javac since version 11 is using more than one core, so the gradle default of using all available cores (even counting E-cores on newer Intel) for the number of executors might be be a little high now. My setting is at half the number of (logical) P-cores, which works quite well for me.