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

Memory leak switching texture packs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Snapshot 13w18c
    • Minecraft 1.5, Minecraft 1.5.1, Snapshot 13w16a
    • Java 1.6.0_43, Linux x86_64
    • Confirmed

      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.

            grum [Mojang] Grum (Erik Broes)
            kahr Kahr
            Votes:
            11 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: