So the problem started from nothing, ive played normally - just building in creative nothing crazy. And all of a sudden fps went to 0, but the screen updated every 3 - 5 seconds. When i reload the world it's fixed for a minute and the loop continues. I haven't spawned anything or made enormous builds that could cause that. In Task manager i see that the Minecraft instance consumes more than 12gb of ram, when i have allocated** 10gb. **
My PC: 32gb ram, ryzen 7 rx7800x3d, rtx4060ti.
World: made it on **AMPLIFIED **terrain mode.
I will add that the minecraft does not crash when this fps is 0, instead it works like it's on 0.3fps.
Ive tried commands to kill all entities. But they dont work when it lags.
I would be extremely thankful for any help, because i spent more than 20h on this world