I was having issues with my computer recently. My RAM was being maxed out and my CPU seemed to randomly hit 100% utilization every few seconds causing freezes in this game I was playing. Because of that, I decided to just upgrade my PC. Just installed a Ryzen 3800X and doubled my RAM to 32GB.
Now I can finally play the Minecraft modpack All the Mods 3 in peace.