Mojira Archive
MC-11439

Memory leak switching texture packs

Switching texture packs several times eventually exhausts all available memory and crashes the game. Specifically, direct memory (as in ByteBuffer.allocateDirect), not the Java heap, fills up. This happens even without loading up a world.

To reproduce this more easily, limit the amount of memory available to Java by adding -Xmx512M -Xms512M -XX:MaxDirectMemorySize=512M to the command line.

Fixed

Kahr

[Mojang] Grum (Erik Broes)

2013-03-09, 10:54 PM

2013-07-03, 12:47 AM

2013-05-06, 07:05 PM

11

3

Confirmed

crash, leak, memory

Minecraft 1.5, Minecraft 1.5.1, Snapshot 13w16a

Snapshot 13w18c