Lag/fps drops making the game unplayable
For months now I have a weird issue that my game randomly starts lagging, basically my fps instantly drop from the usual 60 down to 15, making the game unplayable. Most often this happens when opening anything on the UI, doesn't seem to matter which panel in particular, though inventory (even when I have barely any items in it) and career panel seem to be especially susceptible to this. It can also happen just randomly like when I move the camera around, load onto another lot or I click on stuff. Sometimes opening the menu fixes it, but even then fps usually instantly drop again after a few seconds, so this isn't really a fix either.
The weirdest thing is that this issue sometimes just disappears for weeks and the game runs smooth again, but then it randomly returns after some time has passed. Things I've tried so far is creating a fresh game folder (which used to be my go-to fix but doesn't work anymore unfortunately), repairing the game, removing all mods and CC (of which I don't have many to begin with), reinstalling the game, starting the game while offline, reducing graphics settings (once again, just fixed it temporarily), updating my graphics drivers, reinstalling windows, and deleting the localthumbcache file, all to no avail. I'm kinda at a loss right now because I literally tried everything and nothing seems to work in the long run. I have the suspicion that it's a RAM issue since my computer only has 7.9 GB and my computer uses up to 7.7 GB while running the game. It's just weird that I used to be able to play the game smoothly on ultra settings and now it's even laggy on medium settings, my computer should be able to handle way more.
I attached my dxdiag below, maybe you guys can find out what's causing these immese fps drops. Something I noticed is that whenever my game starts lagging, my PC fans get really loud, making me further suspect some kind of hardware issue.