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

Out of memory crash: World generation exhausts Java heap space


    • 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.

            Unassigned Unassigned
            bdm68 bdm68
            13 Vote for this issue
            11 Start watching this issue