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

Server CPU usage is extremely high when using GUI, even when no players are connected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.10.2, Minecraft 1.11
    • None
    • Mac OS X El Capitan 10.11.5, 2.5Ghz Intel i7, 16GB 1600 MHz DDR3, Intel Iris Pro 1536 MB graphics card.
    • Community Consensus

      Since Minecraft 1.8 (or maybe earlier), I've been starting my home Minecraft Server with the GUI so that I can see which of my kids are connected. I start the server from a BASH terminal using:

      java -Xmx1024M -Xms1024M -jar minecraft_server.jar

      (Java SE version is 1.8.0_91)

      When I upgraded to Minecraft Server 1.10, I noticed that the CPU usage was always high, even when no players are connected.

      To compare, I tried running the exact same world using both the GUI and NOGUI and noting the CPU usage. Here are my results:

      Minecraft Server 1.8.4

      • nogui = hovers between 0.5% and 6% CPU
      • with GUI = hovers between 49% and 80% CPU

      Minecraft Server 1.9.4

      • nogui = hovers between 0.8% and 8% CPU
      • with GUI = hovers between 41% and 80% CPU

      Minecraft Server 1.10.2

      • nogui = hovers between 0.8% and 6% CPU
      • with GUI = hovers between 48% and 95% CPU

      Clearly the GUI is using far more CPU than the "nogui" option, but why? It's not exactly rendering any fancy graphics and there doesn't seem to be a reason for the simple GUI to need so much CPU compared to "nogui". Does showing the "Memory use" and the "Avg tick" really need so much CPU to be consumed?

            Unassigned Unassigned
            ctinnirello Claudio Tinnirello
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: