Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-10408

JVM args set incorrectly on x86_64 platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 2.1.4974-2.1.4976
    • 2.1.1462 (Windows) / 2.1.1433 (Mac OS) / 2.1.1431 (Linux)
    • Minecraft Launcher
    • None
    • Unconfirmed

      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.

            Unassigned Unassigned
            GoryMoon Gustaf Järgren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: