Insane lag spike for a few moments while starting game, cpu usage maxes out all of my 8 threads and ram usage constantly above 2GB, this makes my PC temporarily unusable until MC loads. This is incredibly annoying as I normally am doing something else while waiting for MC to load and my PC gets too laggy to do anything. The lag is mostly tolerable for vanilla, however this slows down load times and is especially apparent on modded clients with forge installed. I have no idea why this keeps happening as it didn't do this previously.
How to replicate:
This started happening to me when I started experimenting with commands, more specifically the /data modify command. I have no idea why this would affect performance while loading the game but apparently it does.
UPDATE 2022/07/03: I haven't touched this report since I made it in 2020 and I feel like I should have. As many people have pointed out in the comments this is indeed caused by the DFU. It still affects 1.19.1-pre2 although now that I am on a different system (Core i5-9300H with 8GB DDR4 and an SSD) this issue is less apparent, however on lower end systems this issue will probably be a lot more visible.
Linked issues
is duplicated by 6
Attachments
Comments 30
I have a lag spike (high CPU usage) when
starting any Minecraft Version from the Launcher
starting any world from a running minecraft instance
This does happen, my pc freezes for a bit while loading the game or world, but I may have reasons for it happening
I believe this is most likely caused due to the amount of data fixes the game has to build when the game starts (which has gotten worse since 1.16), possibly related to (if not a duplicate of) MC-188163.
Same here. Why takes 3 minutes to drop the CPU usage from over 90% to normal.
The game just stays in menu.
Please provide a screenshot of your game with the F3 debug screen enabled.