mirror of https://github.com/FabricMC/yarn.git
Increase max memory for Enigma (#528)
Export source is now crashing with the default memory limit. Increasing it to 2GB fixes the problem and makes it faster than it ever was.
This commit is contained in:
parent
b7d1ab3eab
commit
9cf13f1d60
|
@ -196,6 +196,7 @@ task yarn(dependsOn: setupYarn) {
|
||||||
fork: true,
|
fork: true,
|
||||||
spawn: true
|
spawn: true
|
||||||
) {
|
) {
|
||||||
|
jvmarg(value: "-Xmx2048m")
|
||||||
arg(value: mergedFile.getAbsolutePath())
|
arg(value: mergedFile.getAbsolutePath())
|
||||||
arg(value: mappingsDir.getAbsolutePath())
|
arg(value: mappingsDir.getAbsolutePath())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue