mojira.dev
MC-122311

Game crashes after "Backup and Load"

The bug

When updating a world to the new snapshot, after creating the backup the game crashes.

Crash report

17w47b\: [^crash-2017-11-23_10.54.11-client.txt]

Description: mouseClicked event handler

java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3236)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
	at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
	at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
	at com.sun.nio.zipfs.ZipFileSystem$EntryOutputStream.write(ZipFileSystem.java:1560)
	at java.nio.file.Files.copy(Files.java:2909)
	at java.nio.file.Files.copy(Files.java:3027)
	at java.nio.file.CopyMoveHelper.copyToForeignTarget(CopyMoveHelper.java:126)
	at java.nio.file.Files.copy(Files.java:1277)
	at bix$1.a(SourceFile:68)
	at bix$1.visitFile(SourceFile:63)
	at java.nio.file.Files.walkFileTree(Files.java:2670)
	at java.nio.file.Files.walkFileTree(Files.java:2742)
	at bix.h(SourceFile:63)
	at bsy.b(SourceFile:173)
	at bsy$$Lambda$178/2032586898.confirmResult(Unknown Source)
	at bpg$1.a(SourceFile:45)
	at bni.mouseClicked(SourceFile:102)
	at bof.mouseClicked(SourceFile:44)
	at bmj.b(SourceFile:64)
	at bmj$$Lambda$163/1413580852.run(Unknown Source)
	at bqb.a(SourceFile:428)
	at bmj.a(SourceFile:64)
	at bmj$$Lambda$108/753214674.invoke(Unknown Source)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:23)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:2599)
	at bmr.a(SourceFile:294)
	at bmh.b(SourceFile:843)
	at bmh.a(SourceFile:376)

Attachments

Comments 5

How large was the world uncompressed? And how much memory did you assign to the game?
Based on the crash report it should be 4GB, is that correct?

4GB assigned to the game; uncompressed world is 6.09GB. Increasing memory to 8GB solved the problem.

Is this still an issue in 18w01a?

Still an issue in 18w03b.

pykaxe

Fry

Confirmed

Minecraft 17w47b, Minecraft 18w03b

Minecraft 1.13-pre5

Retrieved