Skip to content

Commit 78c151f

Browse files
Increase Gradle JVM memory to prevent out of memory error (OpenLiberty#1427)
* Add intellij-2025.3-support branch to CI workflow * Increase Gradle JVM memory allocation * Increase Gradle JVM memory to 6GB * Update build.yaml * Update Gradle JVM memory and encoding settings * Increase Gradle heap size to 2 GB
1 parent 86aeac5 commit 78c151f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gradle.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ platformBundledPlugins=com.intellij.java, org.jetbrains.idea.maven, com.intellij
1616
lsp4JakartaVersion=0.2.3
1717
lsp4mpVersion=0.13.0
1818
lemminxVersion=0.26.1
19-
lclsLemminxVersion=2.3.2
20-
lclsVersion=2.3.2
19+
lclsLemminxVersion=2.4
20+
lclsVersion=2.4
21+
22+
# Increase Gradle memory by setting maximum heap size to 2 GB and minimum to 1 GB to prevent OutOfMemoryError
23+
org.gradle.jvmargs=-Xmx2g -Xms1g -Dfile.encoding=UTF-8

0 commit comments

Comments
 (0)