Affects Version/s: 126.96.36.199 Beta
Fix Version/s: 188.8.131.52 Beta
I had a world that was less than 10 MBs in size, after downloading beta 184.108.40.206 I played on the world and even though not much was changed its size grew to more than 35 MBs, after this I started getting some lag where if I break blocks I won't hear their breaking sound or see the particles and after more than 15 seconds I'll see all the blocks getting broken together, or all the blocks I broke will come back.
After I close and opened the game the world started to take more than a minute to load, the chunks take a while to load too and the beta text shows that it's using more than 1GB of memory and it keeps increasing as I'm on the world, and once it starts using more than 2GBs of memory the game crashes. Also in the beta text it shows the "ServerTime" which usually keeps changing but just stays frozen in my world and entities don't move at all.
Steps to reproduce:
- Open the attached world.
- Without moving, watch the server time and memory usage information in the Beta heading.
- Proceed to one of the buildings and open doors and chests.
- Mine some blocks.
Server time and memory show a normal pattern of fluctuations. Doors and chests play their normal open/close sounds. Blocks break instantly.
Server time cycles between periods of normal fluctuation and stalls. While stalled,
- Doors open and close without playing sounds.
- Chests do not open when interacted with.
- Mined blocks do not break.
- Memory usage first rises, then falls back to normal, ending the stall.
Also, some of the LevelDB files in the saved world are much larger than normal, up to tens of MB. Each time you quit and save, they grow larger.