Skip to content

Commit e9b04a6

Browse files
leticiarossidrchen
authored andcommitted
[Gradle] Changed gradle so that tests run in parallel, preventing OutOfMemory errors
PiperOrigin-RevId: 440899952
1 parent d26cb45 commit e9b04a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def getArchivesBaseName(name) {
155155
subprojects {
156156
tasks.withType(Test) {
157157
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
158+
forkEvery = 80
159+
maxHeapSize = "2048m"
160+
minHeapSize = "1024m"
158161
}
159162
}
160163

0 commit comments

Comments
 (0)