The Bug:
Large and continuous lag spikes sometimes occur when loading/reloading into a world in 21w37a.
This issue did not occur in 1.17.1. This may be quite difficult to reproduce as this does not happen all of the time.
Steps to Reproduce:
Create a new world in 21w37a.
Exit the world.
Join the world again.
→ ❌ Notice how large and continuous lag spikes sometimes occur when loading/reloading into a world in 21w37a.
Expected Behavior:
The expected behavior would be that no large and continuous lag spikes would sometimes occur when loading/reloading into a world in 21w37a.
Linked issues
Attachments
Comments 12

Seems like the game is out of available memory (94% in your screenshot) and stalling to wait for the GC. Try allocating more RAM.

This might be a separate issue actually. The game is using more RAM than in 1.17.1.

@ampolive The game needing more RAM is not surprising, it has to hold more block data due to the extended height.

Please attach a performance profile by using the key combination F3+L in the game.

Also attached a profile.

This is a duplicate of MC-236665

This appears fixed in 21w38a
@unknown can you confirm this is fixed as well?
Hi @unknown. Yes, I'm also able to confirm that this issue has been fixed in 21w38a.
Please note that this isn't the same as MC-236646. This issue (MC-236682) occurs even when not loading chunks.