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

Fix gradle properties to avoid out of memory #7173

Merged
merged 3 commits into from
Sep 14, 2023
Merged

Conversation

wmontwe
Copy link
Member

@wmontwe wmontwe commented Sep 14, 2023

According to #19750 the Gradle Daemon could disapear or run out of memory when org.gradle.jvmargs has been altered in the gradle.properties. This causes the deamon to drop all default values leaving XX:MaxMetaspaceSize unbound which consumes more and more memory.

This should fix the issues until #19750 is fixed.

Here are the default values used by the Gradle Daemon: DaemonParameters.

For our project the default memory settings have been multiplied by 4.

@wmontwe wmontwe force-pushed the fix_gradle_properties branch from 428f22d to 57580f2 Compare September 14, 2023 10:05
Copy link
Member Author

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@wmontwe wmontwe merged commit 9715cfc into main Sep 14, 2023
2 checks passed
@wmontwe wmontwe deleted the fix_gradle_properties branch September 14, 2023 12:51
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