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.
      

        1. crash-2014-05-19_15.48.43-client.txt
          4 kB
          Joshua Mack
        2. java.png
          252 kB
          David Goldman
        3. launcher_crash.txt
          7 kB
          David Goldman

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

              Created:
              Updated:
              Resolved: