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

Minecraft server 1.18.1 crashes with OutOfMemoryError: Java heap space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w03a
    • 1.18.1
    • None
    • Unconfirmed
    • (Unassigned)

      Running the official Minecraft server 1.18.1 and walking for some time (30 Minutes) causes out of memory error which eventually crashes the server.

      The world exists since version 1.12 and was used in every following version. The Failure happens now since version 1.18.
      Converting (optimizing) the world for 1.18.1 didn't make a difference.

      Memory heap full after about 15 minutes travelling by rail in an old (1.17 and lower) world. Happens in MC and dedicated vanilla server. The Memory usage shows free memory in the range of 45 - 90 %, later only 95 - 99 % and later on, the game hangs or crashes.

      A test world is available at the following URL:

      Test world containing the extracted long railroad.
      https://merope.ddnss.de/~jgeiss/MeropeTest.zip
      (Server is only online from 8:30 to 23:00, UTC)

      Download ist and extract it to your Minecraft "saves" directory.

      Play this game. Follow the instruction on the attached screenshots.

        1. 2022-01-30_11.06.31.png
          1.20 MB
          Johannes Geiss
        2. 2022-01-30_11.06.57.png
          489 kB
          Johannes Geiss
        3. 2022-01-30_11.07.07.png
          380 kB
          Johannes Geiss
        4. 2022-01-30_11.07.16.png
          612 kB
          Johannes Geiss
        5. 2022-01-30_11.08.22.png
          454 kB
          Johannes Geiss
        6. 2022-01-30_11.12.32.png
          581 kB
          Johannes Geiss
        7. 2022-01-30_11.13.50.png
          445 kB
          Johannes Geiss
        8. 2022-01-30_11.16.26.png
          422 kB
          Johannes Geiss
        9. 2022-01-30_11.17.50.png
          348 kB
          Johannes Geiss
        10. 2022-01-30_11.19.22.png
          278 kB
          Johannes Geiss
        11. latest.log.gz
          130 kB
          Johannes Geiss

            Unassigned Unassigned
            jgeiss Johannes Geiss
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: