Fixing Gradle Test Crashes Due to Out of Memory: Configuring maxHeapSize
A quick tip I figured out a long time ago and am finally getting around to sharing. Problem When running ./gradlew test, tests occasionally crash mid-run with an OutOfMemoryError …