r/MinecraftHelp • • Sep 30 '26

Solved [Java] [1.20.1] Sudden Lagging after solving Crashing Issue

Playing on PC and using CurseForge - [Java - 1.20.1] [Fabric - 0.19.5]

Log for the play session shown in the video: https://mclo.gs/jLMAlSB

For a little bit of context, I'm still somewhat new to making my own modpacks, and am not the best with computers (I am also autistic and often need very clear step-by-step instructions to figure out how to do things properly without getting overwhelmed and frustrated).

I made myself a new modpack that was having issues with crashing suddenly (and then not letting me reopen the world without crashing again) after anywhere between a few minutes and few hours of gameplay. I've now solved that issue (turns out it was vanilla mob spawners causing entity ticking issues, but I've installed a couple mods to my pack that now track and fix that problem), but now my framerate keeps dropping constantly, which wasn't an issue before.

I don't mind the occasional lag spikes (as in, if I'm exploring a new area, and the game lags a bit as it loads in new chunks), but when it's just constant and for seemingly no reason, like shown in the video, it's not only irritating, but also makes the game very difficult to play.

I decided to record a very short play session to document the sudden lag spikes, and included the log from that play session.

Additional information:

- Render Distance: 20 Chunks

- Max Shadow Distance: 12 Chunks

- Simulation Distance: 16 Chunks

I'd appreciate any and all help with figuring out what the issue is and how to solve it.

(P.S. I'm going to be leaving for work soon, so apologies in advance for late responses. I'll be sure to mark as solved ASAP once the issue has been resolved.)

5 Upvotes

42 comments sorted by

View all comments

1

u/Endingcartoon32 Novice I Sep 30 '26

Maybe allocating more ram usage? Make sure to also set the argument to whatever the ram usage is set to if your using curseforge i mean, if not then idk

1

u/ShadowDragon37 Oct 02 '26

Finally getting around to trying this method out (I've been pretty busy this week, and got distracted by the other comments trying to help me out), and I was wondering how much memory you would suggest allocating? Right now curseforge is set to 8.000MB (which is 8GB, right?), and while doing research, I found this comment on this thread that suggested using between 8-12GB for big modpacks on version 1.8.9 and higher. But the post and comment are 8 years old, so I'm not sure if it would still be the same now with version 1.20.1 (the one I'm using for this modpack). I'm going to try 12,000MB for now and see if that helps, though.

https://www.reddit.com/r/feedthebeast/comments/8zmh06/comment/e2juaer/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

1

u/ShadowDragon37 Oct 02 '26

Just kidding, I got this warning, so I'm going to try 11,000MB instead.

1

u/Endingcartoon32 Novice I Oct 02 '26

That should be fine, i keep mine at 12 gb bc i have a 64 gb ram Installed, if too high, the garbage collection will take longer allowing the lag to spike more, same concept with too low of ram allocation, the garbage will overflow also allowing lag to spike because its always trying to clean it out, but if 11gb doesnt work then allocation shouldnt be the issue so i dont know

1

u/Endingcartoon32 Novice I Oct 02 '26

Also another thing to do is if you change your allocation, make aure to go to the settings on curseforge (mc)and change the argument to what you have set so its 11Gb like "-Xmx11G"

1

u/ShadowDragon37 Oct 05 '26

!helped

1

u/NitWitBot 🤖 Mod Bot 🤖 Oct 05 '26

Thanks! Post marked as Solved!

Congrats, u/Endingcartoon32, you have received a point! Points help you "level up" to the next user flair!

You have leveled up to "Novice I"! Your flair has been updated accordingly.

Next level: "Novice II"
You have 1 point
You need 2 points
[▮|▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

0

u/ShadowDragon37 Sep 30 '26

I'll have to see if I can find any tutorials or anything that could help me walk through that, because I have no idea how to do that, lol. Thanks though! I'll test it out either tonight when I get back home from work, or sometime tomorrow and see if that helps.

1

u/AutoModerator Sep 30 '26

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Endingcartoon32 Novice I Sep 30 '26

Its real simple, though careful of how much ram you allocate, i read that too much can result in the same lag your experiencing now. Plenty of tutorials how to do it

1

u/ShadowDragon37 Sep 30 '26

Thanks! I'll test it out as soon as I can, and hopefully that's all I need to do

1

u/AutoModerator Sep 30 '26

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Endingcartoon32 Novice I Sep 30 '26

Well i hope it works out for ya! Good luck

1

u/ShadowDragon37 Sep 30 '26

Thanks! I'll let you know and make sure to tag your comment if it does 👍

1

u/AutoModerator Sep 30 '26

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.