Skip to content

Colota - Android GPS Location tracker

ci: bump unit test JVM heap to 4g to prevent OOM in mockk-heavy tests

Max Dietrich41cb386208d9
diff --git a/apps/mobile/android/app/build.gradle b/apps/mobile/android/app/build.gradle
index c20483ba..7646e497 100644
--- a/apps/mobile/android/app/build.gradle
+++ b/apps/mobile/android/app/build.gradle
@@ -187,6 +187,10 @@ android {
testOptions {
unitTests.returnDefaultValues = true
+ unitTests.all {
+ // Bump heap to avoid OOM when running the full test suite.
+ maxHeapSize = "4g"
+ }
}
}