When crossing chunks in some places you get a lag spike. This also happens sometimes when moving camera too fast
link to video: https://youtu.be/oUk_RUxcpp0
Linked issues
Comments


i have 16 GB allocated, I'm pretty sure that's not why.

Search "graphics settings" in the Start menu, then make sure "Desktop app" is selected. Click browse, then go to "C:\Program Files (x86)\Minecraft Launcher\runtime\jre-x64\bin", then have "javaw.exe" selected. Click "Java(TM) Platform SE binary", go to Options, and set it to High performance.

If you use a laptop, make sure it's plugged in and not on power saving mode.

Ok I tried the first idea. Lets see

Nope. Seems even worse now

Does MC-162253 describe your issue?
Try changing the amount of RAM you have allocated to Minecraft.
https://www.online-tech-tips.com/gaming/how-to-allocate-more-ram-to-minecraft/