Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase R8 allowed max memory usage #140

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

Bencodes
Copy link
Contributor

We've seen this action OOM a few times in our codebase. The default 4g max set by java.bzl probably isn't going to be enough for R8 to successfully dex, desugar, and optimize a large application.

Increasing the max allowed memory should be a safe change since R8 is one of the final actions in an apps build graph.

We've seen this action OOM a few times in our codebase. The default `4g` max set by `java.bzl` probably isn't going to be enough for R8 to successfully dex, desugar, and optimize a large application.

Increasing the max allowed memory should be a safe change since R8 is one of the final actions in an apps build graph.
@copybara-service copybara-service bot merged commit 16b170b into bazelbuild:main Sep 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant