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

Exception generating new chunk - OutOfMemoryError: Java heap space

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Awaiting Response
    • Affects Version/s: Minecraft 18w21a, Minecraft 1.13-pre2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Java 32 bit
      Windows 7
    • Confirmation Status:
      Confirmed

      Description

      When the game is paused at the main menu and it is generating chunks, it runs out of heap space.

      Load the attached save game (T1_18w21a).

      When the game loads, press F3 (to show memory) and then Escape to pause the game. (This step is optional)

      The game will crash after a few seconds when it exhausts memory.

      (The save game is in three parts - part 1 has most of the game files and a few region files, and parts 2 and 3 have most of the region files.)

      escription: Exception generating new chunk
      
      java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
      	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2237)
      	at sj.c(SourceFile:129)
      	at sr.a(SourceFile:84)
      	at ss.c(SourceFile:143)
      	at sk.i_(SourceFile:223)
      	at net.minecraft.server.MinecraftServer.w(SourceFile:694)
      	at net.minecraft.server.MinecraftServer.v(SourceFile:627)
      	at dii.v(SourceFile:156)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:532)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.OutOfMemoryError: Java heap space
      	at it.unimi.dsi.fastutil.ints.IntArrayFIFOQueue.resize(IntArrayFIFOQueue.java:175)
      	at it.unimi.dsi.fastutil.ints.IntArrayFIFOQueue.expand(IntArrayFIFOQueue.java:189)
      	at it.unimi.dsi.fastutil.ints.IntArrayFIFOQueue.enqueue(IntArrayFIFOQueue.java:201)
      	at cbm.a(SourceFile:142)
      	at cbm.a(SourceFile:146)
      	at cbm.a(SourceFile:130)
      	at cbp.a(SourceFile:62)
      	at tb.a(SourceFile:23)
      	at sx.a(SourceFile:34)
      	at bqc.a(SourceFile:87)
      	at td.a(SourceFile:59)
      	at td.a(SourceFile:23)
      	at agg$a.a(SourceFile:143)
      	at agg$a$$Lambda$1526/136461969.apply(Unknown Source)
      	at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
      	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
      	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
      	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
      	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      

      World download from MC-131617: http://www.mediafire.com/file/3n2y3fqye7obqnz/Jungle_Home%252C_Where_are_You%2521.zip/file

      • The world does not initially crash, but will after generating new chunks

        Attachments

        1. crash-2018-05-24_13.59.03-server.txt
          4 kB
        2. T1_18w21a - 1.zip
          8.71 MB
        3. T1_18w21a - 2.zip
          8.67 MB
        4. T1_18w21a - 3.zip
          4.80 MB
        5. crash-2018-05-24_00.47.18-server.txt
          4 kB
        6. Map_Status_Healthy.png
          Map_Status_Healthy.png
          3 kB
        7. Map_Status_Incomplete.png
          Map_Status_Incomplete.png
          2 kB
        8. crash-2018-06-16_14.17.13-server.txt
          4 kB
        9. latest.log
          17 kB
        10. Status Map.png
          Status Map.png
          7 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdm68 bdm68
              • Votes:
                14 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: