-
Notifications
You must be signed in to change notification settings - Fork 307
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
Out of memory for release builds #996
Comments
So it seems that having
...and running the build without the Gradle daemon is a workaround:
|
When running in a daemon the memory config isn't being picked up - if I do the build with
...even when using the following in
|
This looks like a great reference for Gradle property settings: |
So the reason why the previous |
Summary:
I'm having issues with out of memory issues for release builds - they seem to be triggered by a change in Gradle 5.1:
gradle/gradle#7746
Here are the docs for changing memory settings for Gradle:
https://docs.gradle.org/current/userguide/build_environment.html#sec:configuring_jvm_memory
Steps to reproduce:
Run
gradlew assembleRelease
Expected behavior:
Successfully build a release
Observed behavior:
Various out of memory errors, such as:
The text was updated successfully, but these errors were encountered: