commit | b3f10cb870120310696541ed843f736b529ff3df | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Mon May 02 20:46:05 2022 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Mon May 02 20:46:05 2022 -0700 |
tree | e61a43f385993f8766dbfa59ba467cc6ef880ed4 | |
parent | 4343754634b4306b86c92ce48dda52a806bd4d6a [diff] |
Give room gradle test more memory Workaround to make sure it doesn't keep OOMing. Bug: 231154556 Test: ran locally, but i wasnt to repro OOM before either Change-Id: Ic9f260ac9b72041e89fcf7370f71170764dd0ccf
diff --git a/room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt b/room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt index 2690d8b..ee639b9 100644 --- a/room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt +++ b/room/integration-tests/incremental-annotation-processing/src/test/kotlin/androidx/room/gradle/RoomIncrementalAnnotationProcessingTest.kt
@@ -281,7 +281,8 @@ private fun runGradleTasks(vararg args: String): BuildResult { return GradleRunner.create() .withProjectDir(projectSetup.rootDir) - .withArguments(*args) + // workaround for b/231154556 + .withArguments("-Dorg.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m", *args) .build() }