diff --git a/gradle.properties b/gradle.properties index 3c56437d1..b43005ca8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,3 +18,6 @@ lsp4mpVersion=0.13.0 lemminxVersion=0.26.1 lclsLemminxVersion=2.4 lclsVersion=2.4 + +# Increase Gradle memory by setting maximum heap size to 2 GB and minimum to 1 GB to prevent OutOfMemoryError +org.gradle.jvmargs=-Xmx2g -Xms1g -Dfile.encoding=UTF-8 \ No newline at end of file