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

Ignores -Xmx tag at will / Injects -Xmx512 at the end of JVM arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.2.1
    • None
    • None
    • Unconfirmed

      Crashes with :

      Client> Error occurred during initialization of VM
      Client> Incompatible minimum and maximum heap sizes specified
      Client> Picked up _JAVA_OPTIONS: -Xmx512M
      Game ended with bad state (exit code 1)
      Ignoring visibility rule and showing launcher due to a game crash
      

      Seems to appear that the Xms tag is read but the Xmx tag is ignored, meaning that Xms > Xmx, which results in the crash.

      Reasons to believe this:

      "Client> Picked up _JAVA_OPTIONS: -Xmx512M" in log suggests that it is forced to run with 512 MB of RAM.
      Running with JVM args "-Xmx2048M -Xms512M" works fine but with "-Xmx2048M -Xms513M" still crashes.
      

            Unassigned Unassigned
            DavidG David Goldman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: