-
Bug
-
Resolution: Fixed
-
Minecraft 1.9.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2
-
Confirmed
The bug
Minimizing the game whilst being in a singleplayer or multiplayer world causes the game process to start eating up RAM until it has reached full usage of the memory allocated to the JVM. This makes the game become very unresponsive, forcing the user to kill the process via Window's Task Manager. If the user reopens the game shortly after minimizing it, there is a chance that the game will clear up some memory and proceed as normal. Please note that this only happens if the game has loaded up a singleplayer/multiplayer world before; the memory usage does not increase if the game gets minimized in the main menu.
How to reproduce
- Monitor the game process in Window's Task Manager (javaw.exe)
- Join any singleplayer world / server
- Press ESC on your keyboard to pause the game
- Minimize the game
- Watch how the process' private bytes increase over time
Video showing the bug in action on YouTube
Original description
I was playing minecraft in fullscreen and then I pressed escape to pause it and windows key to minimize it. Then I realized that minecraft would slowly use more and more RAM, up to 4.2GB (I allocated 3GB), When it reaches 4+GB it stops climbing then drops after 5 seconds to 500MB and then starts climbing again. When I try to bring it back to play it it takes up to 10 seconds to appear on my screen. After that everything works fine.
Video: https://www.youtube.com/watch?v=KZ0HlSv6zbM
- is duplicated by
-
MC-101338 Minecraft eating RAM when minimized
- Resolved