Skip to content

Commit 0f2ed70

Browse files
authored
[Bug]: gradle check failing with java heap OutOfMemoryError (opensearch-project#4150)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 65e28dc commit 0f2ed70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Xss2m \
1919
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
2020
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
2121
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
22-
options.forkOptions.memoryMaximumSize=2g
22+
options.forkOptions.memoryMaximumSize=3g
2323

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

0 commit comments

Comments
 (0)