Skip to content

Commit

Permalink
[Bug]: gradle check failing with java heap OutOfMemoryError (opensear…
Browse files Browse the repository at this point in the history
…ch-project#4150) (opensearch-project#4168)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 0f2ed70)

Co-authored-by: Andriy Redko <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and reta authored Aug 9, 2022
1 parent 4b0f2ec commit 44666a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Xss2m \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
options.forkOptions.memoryMaximumSize=2g
options.forkOptions.memoryMaximumSize=3g

# Disable duplicate project id detection
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail
Expand Down

0 comments on commit 44666a9

Please sign in to comment.