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
Microsoft Windows [Version 10.0.15063]
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz, 3.40 GHz
64-bit operating system, x64-based processor; 8.00 GB RAM
NVIDIA GeForce GT 630; GeForce Game Ready Driver Version 385.69
Java 1.8.0_144-b01 (64-bit)
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.
- 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
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.