mojira.dev
MCL-10408

JVM args set incorrectly on x86_64 platforms

The launcher adds the "-Xss1M" jvm argument to systems that are 64bit.

It's from the version manifest for 1.13.2 where there is a rule for 32bit systems to use this argument. I don't know but guessing is a matching issue.

{
    rules: [
        {
            action: "allow",
            os: {
                arch: "x86"
            }
        }
    ],
    value: "-Xss1M"
},

Jvm part taken from debug output in launcher_log.txt (formatted the text a bit)

[0111/214602:INFO:ClientHandler.cpp(859)]
{"jvm": [
    "-XstartOnFirstThread",
    "-Xss1M",
    "-Djava.library.path=${natives_directory}",
    "-Dminecraft.launcher.brand=${launcher_name}",
    "-Dminecraft.launcher.version=${launcher_version}",
    ...

This isn't a major issue but reduces the available stack size on the 64bit platforms without needing it.

Comments 0

No comments.

Gustaf Järgren

(Unassigned)

Unconfirmed

Retrieved