We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a66863 commit defacb3Copy full SHA for defacb3
HMCL/build.gradle.kts
@@ -335,7 +335,7 @@ tasks.register<JavaExec>("run") {
335
classpath = files(jarPath)
336
workingDir = rootProject.rootDir
337
338
- val vmOptions = parseToolOptions(System.getenv("HMCL_JAVA_OPTS"))
+ val vmOptions = parseToolOptions(System.getenv("HMCL_JAVA_OPTS") ?: "-Xmx1g")
339
if (vmOptions.none { it.startsWith("-Dhmcl.offline.auth.restricted=") })
340
vmOptions += "-Dhmcl.offline.auth.restricted=false"
341
0 commit comments