Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-148234

Launching a server with the -Xms or -Xmx launch options doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.14 Pre-Release 2
    • None
    • AMD Ryzen 5 1600, 16GB DDR4, Java 1.8.0_171, Windows 10

      Intel Core 2 Duo E8400, 6GB DDR2, Java 1.8.0_201, Windows 10
    • Unconfirmed

      Launching the 1.14 Pre-Release 2 server jar with the options "-Xms" or "-Xmx" using a batch file to specify RAM allocation does not launch the server, and gives this error:

      Failed to start the minecraft server joptsimple.UnrecognizedOptionException: X is not a recognized option at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[server.jar:?] at joptsimple.OptionParser.validateOptionCharacters(OptionParser.java:633) ~[server.jar:?] at joptsimple.OptionParser.handleShortOptionCluster(OptionParser.java:528) ~[server.jar:?] at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:523) ~[server.jar:?] at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59) ~[server.jar:?] at joptsimple.OptionParser.parse(OptionParser.java:396) ~[server.jar:?] at net.minecraft.server.MinecraftServer.main(SourceFile:879) [server.jar:?]

      Removing the -Xms or -Xmx tags will cause the server to be launched as normal, with the default RAM allocation.

      Tested on two systems, same result.

            Unassigned Unassigned
            kthekid84 Kyle McDowell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: