mojira.dev
MC-242603

Autosaving causes world to freeze temporarily

When world autosaves, it causes a lag spike that freezes everything in the world. If you for example try to break a block during this lag the item doesn´t drop and suddenly game jumps back to the position before the lag spike. Player can move normally but world around is frozen for about 20 seconds.

FPS stays at 140-200 this whole time.

So this happens now EVERY time the game autosaves. Prior to pre-release 5, I did not have this issue (same computer setup and everything). When I start the game in 1.17 there is no issue.

Attachments

Comments 13

Appears to be a duplicate of MC-239474

It says it's fixed in 1.18 pre release 5.
Maybe it's still not fixed…

Yeah, did this to me in pre-release 5 and now in 6 is still doing this. So not fixed, at least for me it seems that way :/

Still having this issue in pre-release 8.

I don´t understand this. When I load release candidate 3 world, the whole client starts laggy and the autosave issue continues. It doesn´t matter if I create totally new world or load an older world, it is the same lag.

But when I load the game in latest release 1.17 everything works totally normal and smooth. Am I missing something? It is annoying that I can not play the new mountains feature and if this is going to be on release, then I don´t know what to do 😞

3 more comments

This happens to me in every world I try to create in 1.18 and yes I have tried many many times on different new worlds.

Did not have this problem in 1.17

It also doesn´t matter what I am doing in the world but it always lags when "saving world" occurs. I could be mining, building or chopping wood and when game starts saving the world around me freezes (I can move normally this time but if i break blocks this time, I don´t get the drops) and when saving ends the game jumps back to the position prior saving.

I have tried everything at this point. I have uninstalled the game and java and installed them again. I have updated my driver and got an advice on discord that I should rename my .minecraft folder to oldminecraft and try launch the ghame again. Did not help.

Oh and I don´t have anything else open on my computer during this besides the game and I do not try to run server either. Only trying to play single player world on my own 😞

This is the log from my latest attempt today: https://paste.gg/p/anonymous/7986f991077f4808be2ff5ab5352d9e6

World seed on this was: 652198451882068374

I have not done anything so far in this world. Just tried to test if it works.

I can also add that when I launch 1.18 on bedrock edition with this same launcher and same computer, I don´t have any issues. Don´t know if you do anything with this info but nonetheless...

This doesn't really seem like a bug, just the product of inefficient code. The world freezing is caused by the Server thread trying to save everything to disk, so everything kind of "freezes" for a bit while it saves everything.

I don't know what you guys did but now it is working! I didn't do anything. Just started my computer today and tried if it works and it does! So at least for me it is now working.

Johanna T

(Unassigned)

Unconfirmed

1.18 Pre-release 6, 1.18 Pre-release 7, 1.18 Pre-release 8, 1.18 Release Candidate 1, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18

Retrieved