With the old launcher if you started the launcher using some java options, for example -Xmx to change the amount of memory java allocates, the game would start using these options too.
With the new launcher if you set options like this they only apply to the launcher, not to the game, and there is no other mechanism provided for setting these options for the game.
Another (possibly better) way this could be solved would be to have the option to set the java options in the launcher GUI, or have them as a hidden option in options.txt or a similar file where advanced users can change them.
Linked issues
is duplicated by 4
Comments 2
This was fixed in 0.8. There's no gui but you can still access it manually. Open up ./launcher_profiles.json and add:
"jvmArgs": ["-Xmx1G"]
It should look like this:
{
"profiles": {
"(Default)": {
"name": "(Default)",
"authentication": {
"username": "???@???.???",
"displayName": "???"
},
"jvmArgs": ["-Xmx1G"]
}
},
"selectedProfile": "(Default)"
}
Planned to add this when we add profiles (hopefully this week).
The java related options should be: -Xms; -Xmx, which java to run it with, any other java arguments