Skip to content

Commit

Permalink
android build: Bump Gradle max memory use to 6 GiB
Browse files Browse the repository at this point in the history
Fixes, potentially, zulip#1360.

Even after the bump to 4 GiB, CI is still occasionally flaking
with a "Java heap space" error in the `android` suite:
  https://github.com/zulip/zulip-flutter/actions/runs/13152142737/job/36817594452?pr=1327

So try bumping the memory limit still further.  It's not entirely
clear this will be enough (or that an even bigger number would be):
  zulip#1360 (comment)
but we'll find out.
  • Loading branch information
gnprice committed Feb 16, 2025
1 parent 043ae10 commit 9de52a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.jvmargs=-Xmx6G
android.useAndroidX=true
android.enableJetifier=true

Expand Down

0 comments on commit 9de52a6

Please sign in to comment.