Changed default RAM limit
This commit is contained in:
parent
8208434b8f
commit
ad736787e9
@ -540,7 +540,7 @@ func GetBaseLaunchArgs(mcVersion string, instance Instance, libDir string, binDi
|
||||
args = append(args, loggingArg)
|
||||
}
|
||||
args = append(args, "-Xms512m")
|
||||
args = append(args, "-Xmx1024m")
|
||||
args = append(args, "-Xmx4096m")
|
||||
args = append(args, "-cp")
|
||||
arg := ""
|
||||
separater := ":"
|
||||
@ -556,8 +556,6 @@ func GetBaseLaunchArgs(mcVersion string, instance Instance, libDir string, binDi
|
||||
arg += filepath.Join(binDir, mcVersion, "client.jar")
|
||||
args = append(args, arg)
|
||||
|
||||
|
||||
|
||||
args = append(args, instance.MainClass)
|
||||
|
||||
for _, val := range searchArgs {
|
||||
@ -586,7 +584,6 @@ func GetBaseLaunchArgs(mcVersion string, instance Instance, libDir string, binDi
|
||||
return args, nil
|
||||
}
|
||||
|
||||
|
||||
func GetOfflineLaunchArgs(mcVersion string, instance Instance, libDir string, binDir string, assetDir string, gameDir string, playerName string) ([]string, error) {
|
||||
args, err := GetBaseLaunchArgs(mcVersion, instance, libDir, binDir, assetDir, gameDir)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user