Skip to content

Commit

Permalink
Increase R8 ram to 10g
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes committed Aug 8, 2024
1 parent 06047bc commit f7e73b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/android_binary/r8.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def process_r8(ctx, validation_ctx, jvm_ctx, packaged_resources_ctx, build_info_
inputs = depset([android_jar, deploy_jar] + proguard_specs, transitive = [neverlink_jars]),
outputs = [dexes_zip, proguard_mappings_file],
mnemonic = "AndroidR8",
jvm_flags = ["-Xmx8G", "-XX:ThreadStackSize=2048"],
jvm_flags = ["-Xmx10G", "-XX:ThreadStackSize=2048"],
progress_message = "R8 Optimizing, Desugaring, and Dexing %{label}",
)

Expand Down

0 comments on commit f7e73b1

Please sign in to comment.