Receiving error message when building a project through gradle
Expiring Daemon because JVM Tenured space is exhausted
Receiving error message when building a project through gradle
Expiring Daemon because JVM Tenured space is exhausted
This means the JVM doesn't have enough memory to compile the Java files. There's a couple of steps that can be taken.
./gradlew clean
, which will remove everything including leftovers from previous builds which are no longer relevant../gradlew --stop
, killing other gradle daemons which may be taking up memory.gradle.properties
file. org.gradle.jvmargs=-Xms128m -Xmx1024m -XX:+CMSClassUnloadingEnabled
© 2022 - 2024 — McMap. All rights reserved.