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

Running out of memory when exiting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w35a
    • Minecraft 15w34d
    • None
    • OS X 10.10.5, Java 1.6.0_65 64-bit (I have Java 8 installed but, well), MBP early-2011.
      1011 MB max allocated memory.
    • Confirmed

      When I launch a world, at first memory usage is normal (18-25 %, 50~% allocated of 1011 MB).
      If I exit the world and then go back, memory usage explodes, going to 80~% with 100% allocated.
      When I try to exit a second time the game goes out of memory, freezes, and most of the time, crashes.

      (This seems to happen only when exiting a specific save then going to any other save.)
      EDIT : Also happens with other saves but less consistently.

      Usually I have more than enough RAM with this 1 GB. That never happened before this snapshot.

      I joined a forced crash log I did with the memory up to about 80% and a copy of the game output after one of the crashes.
      I also put a game save for which the bug happens every time I log out and back in.

        1. Test World snapshots.zip
          4.09 MB
        2. Memory runaway.png
          Memory runaway.png
          33 kB
        3. latest.log
          7 kB
        4. Game output - ran out of memory .txt
          10 kB
        5. crash-2015-08-21_19.06.01-client.txt
          11 kB
        6. 2015-08-21_20.01.42.png
          2015-08-21_20.01.42.png
          1.34 MB

            grum [Mojang] Grum (Erik Broes)
            simnico Nicolas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: