Skip to content

Commit 28d21c5

Browse files
Update Gradle JVM memory and encoding settings
1 parent 88aa43e commit 28d21c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ lemminxVersion=0.26.1
1919
lclsLemminxVersion=2.4
2020
lclsVersion=2.4
2121

22-
# Increase Gradle memory to prevent OutOfMemoryError
23-
org.gradle.jvmargs=-Xmx6g
22+
# Set maximum heap size to 2 GB and minimum to 1 GB
23+
org.gradle.jvmargs=-Xmx2g -Xms1g -Dfile.encoding=UTF-8

0 commit comments

Comments
 (0)