Mojira Archive
MC-1628

Minecraft runs out of memory when you switch a lot between worlds

After switching between worlds like 25 times, minecraft runs out of memory

I created 2 new superflat worlds with the "Redstone Ready" template.
Each time i switch to another one of these, the game consumes 60 - 100 mb more ram!

What I expected to happen was...:
I expected to be able to switch between singleplayer worlds as much as i want

What actually happened was...:
Minecraft starts using more and more ram, making it crash because it's out of memory

Steps to Reproduce:
1. Leave current world
2. Join another world
3. Leave this world
4. Join another world
And so on like 25-35 times until minecraft crashes

Fixed

Jeffrey Kog

2012-11-01, 05:38 PM

2015-09-06, 10:05 PM

2013-07-23, 11:39 PM

4

6

Unconfirmed

OSX, memory

Minecraft 1.4.2 - Minecraft 1.5Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.5

Minecraft 1.6.2