Mojira Archive
MC-130162

Exception generating new chunk - OutOfMemoryError: Java heap space (32 bit Java)

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

Awaiting Response

bdm68

2018-05-24, 07:06 AM

2019-12-31, 01:04 AM

2018-10-08, 10:48 PM

14

9

Confirmed

Minecraft 18w21a, Minecraft 1.13-pre2

-