Slackbot
09/22/2023, 3:58 PMMykola Markov
09/22/2023, 4:16 PMgradle.properties
file like this
org.gradle.jvmargs=-Xmx4g -Xms4g -XX:MaxMetaspaceSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Mykola Markov
09/22/2023, 4:16 PMVampire
09/22/2023, 4:18 PMJAVA_OPTS
sets the values for the ultra-thin CLI program. org.gradle.jvmargs
sets the values for the Gradle daemon. Both do not help at all when you get OOM during test execution as this happens in a separate test worker process. Configure the maxMemory
property (or how it is called) on the respective Test
task instead.Vampire
09/22/2023, 4:19 PMMykola Markov
09/22/2023, 4:20 PMNivethitha Shanmugam
09/22/2023, 8:57 PMDaniel B Duval
09/23/2023, 2:20 PMDavid Ankin
09/23/2023, 4:35 PMNivethitha Shanmugam
09/25/2023, 3:17 PMNivethitha Shanmugam
09/25/2023, 3:19 PMNivethitha Shanmugam
09/28/2023, 5:11 PMVampire
09/28/2023, 5:30 PM