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

Out of memory crash: World generation exhausts Java heap space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 3
    • 21w42a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2
    • None
    • Windows 10, 16GB RAM, 4 core processor.
    • Plausible
    • Crash
    • Very Important

      When creating a world using a redstone mechanism, the game crashed after about 24 hours with an out of memory exception.

      Crash report is attached.

      To reproduce:
      1. Create a new world in creative mode (I used seed 1, gamerules: doWeatherCycle=false, doDaylightCycle=false, commandBlockOutput=false).
      2. Unzip the attach file "g18.zip" into the "generated" folder of the save file.
      3. Use a structure block to load the redstone mechanism "g18" into the spawn chunks of the Overworld.
      4. Start the mechanism and let it run for a while, 24 hours or more. Eventually the game will crash.

        1. crash-2021-10-24_13.00.20-server.txt
          4 kB
          bdm68
        2. crash 2021-11-04 - 3.txt
          0.7 kB
          bdm68
        3. deobf_crash-2021-10-24_13.00.20-server.txt
          7 kB
          [Bot] Arisa

            Unassigned Unassigned
            bdm68 bdm68
            Votes:
            13 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: