The bug
The game seems to experience severe lag spikes after exploring terrain for a while. By looking at the graphs, it seems to happen server side as well. Reducing render distance seems to help a bit.
I’m unable to reproduce this on 26.3, so I believe this is a new issue introduced in 26.4 snapshots. Also judging by how at the beginning of a fresh game start the spikes don’t happen, it makes me believe it might be a memory leak issue.
How to reproduce
The issue is not really consistent to reproduce, but so far every test I did by creating a world on the 26.4 snapshots the issue happened after a while.
Start the game and create a new world.
In creative or spectator, explore new terrain for a while.
After like 20 or 30 minutes, enable the FPS and TPS graph and analyze if there’s lag spikes present.
Linked issues
Attachments
Comments 7
system.txt shows 4046 MiB of the 4096 MiB heap in use after about 38 minutes. The JVM metrics also stay close to the 4 GiB limit throughout the capture. The two largest client spikes were 554 ms in setupFrameGraph and 283 ms in updateSectionOcclusion. MC-312352 also reports memory not being cleared after exploring terrain in the 26.4 snapshots.
Seems like the title of that report was changed, since it was labeled as Linux only before, but it might likely be the same issue.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Are you playing on Windows, Linux, or Mac?
What are your PC's technical specifications (graphics card, processor, RAM, etc.)?
Are you playing in singleplayer or multiplayer?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
@[Team Allay] Baslod All of that information is already present on the report. Please look at the F3 screen of the video and the profiler report. The reproduction steps already make it clear that I’m referring to singleplayer. This instance is on windows 11.
Does MC-312352 happen to describe your issue?
Thank you for helping us improve Minecraft! We saved your files: