I had a world that was less than 10 MBs in size, after downloading beta 1.11.0.5 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.
Additional information by @unknown:
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.
Expected results:
Server time and memory show a normal pattern of fluctuations. Doors and chests play their normal open/close sounds. Blocks break instantly.
Actual results:
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.
Additional example:
This world was provided by @unknown (Thank you!) as a sample of a 1.11.0.3 world that develops the problem after upgrading it to 1.11.0.5.
Linked issues
is duplicated by 2
Attachments
Comments 7
I started a game today with experimental features on and I think I encountered the same issue.
Game became extremely slow and memory usage was to high that other programs (Chrome) began crashing.
I think it was caused by a raid event, because the bar with the raid title appeared but no mobs came (I never played through a raid before).
I copied the save, at bloated up size of 81MB and on the copy, destroyed all of the beds in the village, ending the raid.
The game became playable again and the file size dropped back to around 30MB.
Also, for some reason, the beds reappeared after a few times of exiting and reloading the copied save.
Game version v1.11.0.5 (experimental features on)
Confirmed on Windows 10 in a world with experimental features enabled. Looks to be a high chance of memory leaking. Slowly caused all of my worlds to use up a lot of memory to the point where it's impossible to open chests. But it's only on specific chunks. I'll try to run some test to figure out why this is happening.
Happens consistently in villages with villagers present. Does not happen without villagers. Areas with Zombies unaffected.
We found some problems with the files in the attached test world (village.zip) that are surely related to this issue. Some of the files are inflated compared to what is normal in a world save, and each time I load and save the world the inflated files get larger until the server can't get enough resources to process them any more.
This probably happened the first time you opened the world in 1.11.0.5. We'd like to try to reproduce that original error. Could you possibly attach a copy of the world from a backup made before you opened it 1.11.0.5?