3
I have a 1.18.2 modded forge server I'm planning to migrate to 1.20.1, and I'm testing out the 1.20.1 version of its modpack in singleplayer. The problem is, in singleplayer, I am getting an unplayable amount of TPS lag. Roughly every 30 seconds the entire "server" will completely freeze for about 10-20 seconds.
Now, I know that this modpack SHOULD work, as it's almost the same as the 1.18.2 version I've had working smoothly on a server for 1.5 years now. I did add a few new mods for 1.20.1, which I'll list below, but I'm not sure if any of those could be problematic. I'll attach some spark profiles below, as well as my modlist. The forge version I've been using is 47.4.10.
If anyone could provide some insight as to what might be causing this issue, it would be much appreciated!
https://spark.lucko.me/bPePAro6O6
https://spark.lucko.me/f7f8aLPvFQ

modlist

new mods
Now, I know that this modpack SHOULD work, as it's almost the same as the 1.18.2 version I've had working smoothly on a server for 1.5 years now. I did add a few new mods for 1.20.1, which I'll list below, but I'm not sure if any of those could be problematic. I'll attach some spark profiles below, as well as my modlist. The forge version I've been using is 47.4.10.
If anyone could provide some insight as to what might be causing this issue, it would be much appreciated!
https://spark.lucko.me/bPePAro6O6
https://spark.lucko.me/f7f8aLPvFQ
modlist
new mods
5
Your average TPS is completely fine, but that Max MSPT spike at 162ms is the exact moment your game freezes. Since your RAM usage is around 72%, it is definitely a memory dump or a specific mod choking out your world save thread.Looking at your mod list, there are a few known culprits that cause these exact freezes on 1.20.1 Forge:
/spark tickmonitor --threshold 150
/spark sampler start
Just play normally until you experience one of those 10-20 second freezes. The exact second you unfreeze, type:
/spark sampler stop
Open the link it generates, scroll down to the "Server Thread" dropdown, and look for whatever mod name is highlighted in red with a huge percentage.
- Exposure (known to freeze the save thread when caching images)
- Radium (frequently deadlocks when combined with ModernFix and Embeddium)
- Distant Horizons (stalls the server thread when rendering chunks near heavy structures)
- Create Hypertube (gets stuck in infinite calculation tick loops)
/spark tickmonitor --threshold 150
/spark sampler start
Just play normally until you experience one of those 10-20 second freezes. The exact second you unfreeze, type:
/spark sampler stop
Open the link it generates, scroll down to the "Server Thread" dropdown, and look for whatever mod name is highlighted in red with a huge percentage.
I guess there are just too many mods. Try to use only the ones you really need. Maybe you don't need some of the big mods like Create?
nah, definitely not too many mods. I've ran far more than this before without issue. And again, have ran a server with a very similar modpack for 1.5 years without issue
Okay sorry, I'm not a mods expert.
all good, thank you for your input regardless
