I get this error message as I execute my JUnit tests:
java.lang.OutOfMemoryError: GC overhead limit exceeded
I know what an OutOfMemo
OutOfMemo
increase javaMaxHeapsize in your build.gradle(Module:app) file
dexOptions { javaMaxHeapSize "1g" }
to (Add this line in gradle)
dexOptions { javaMaxHeapSize "4g" }