Skip to content

Commit 326f6dd

Browse files
smyrickdariuszkuc
andauthored
Increase Gradle wrapper memory (#624)
* Increase gradle memory Increase the gradle jvm max memory as we are seeing intermittent OutOfMemory errors on GitHub Actions * Remove incubating features Co-authored-by: Dariusz Kuc <[email protected]>
1 parent a86e78c commit 326f6dd

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

examples/gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ version = 1.0-SNAPSHOT
55
org.gradle.caching=true
66
org.gradle.parallel=true
77
kapt.incremental.apt=true
8+
9+
# Increase the memory to run on GH Actions
10+
# See: https://github.com/gradle/gradle/issues/8139
11+
org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ kapt.incremental.apt=true
99
# See https://github.com/gradle/gradle/issues/11308
1010
systemProp.org.gradle.internal.publish.checksums.insecure=true
1111

12+
# Increase the memory to run on GH Actions
13+
# See: https://github.com/gradle/gradle/issues/8139
14+
org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
15+
1216
# dependencies
1317
kotlinVersion = 1.3.61
1418
kotlinCoroutinesVersion = 1.3.3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)