Skip to content

Commit dfdb317

Browse files
committed
Fix -XX:MaxHeapSize setting for Windows
1 parent 511240f commit dfdb317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ configure(rootProject) {
852852

853853
doLast() {
854854
def gradleOpts = "-XX:MaxPermSize=1024m -Xmx1024m"
855-
def gradleBatOpts = "$gradleOpts -XX:MaxHeapSize=256"
855+
def gradleBatOpts = "$gradleOpts -XX:MaxHeapSize=256m"
856856
File wrapperFile = file('gradlew')
857857
wrapperFile.text = wrapperFile.text.replace("DEFAULT_JVM_OPTS=",
858858
"GRADLE_OPTS=\"$gradleOpts \$GRADLE_OPTS\"\nDEFAULT_JVM_OPTS=")

0 commit comments

Comments
 (0)