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

Added comment in build.gradle and developing.md for heap size #1200

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

staicy123
Copy link
Contributor

@staicy123 staicy123 commented Dec 18, 2024

Fixes #1157
Updated build.gradle to include a comment explaining the purpose of setting memoryMaximumSize = "2g" in JavaCompile tasks. This change addresses out-of-memory errors encountered during test compilation by setting the maximum Java heap size using the -Xmx option, ensuring sufficient heap space.
Added a note to DEVELOPING.md to guide developers on resolving potential out-of-memory errors in the future by increasing the memoryMaximumSize option in build.gradle.

DEVELOPING.md Outdated Show resolved Hide resolved
Copy link
Contributor

@vaisakhkannan vaisakhkannan left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Contributor

@mrglavas mrglavas left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

@staicy123 staicy123 merged commit af7f711 into OpenLiberty:main Jan 4, 2025
3 checks 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.

Describe java heapsize setting in build.gradle
4 participants