ntiwa3mygj0q I believe the issue is that your computer's page file is almost all used, and because there isn't much space left on your system drive, the computer can't or won't increase the size of the page file. This is where the processor stores data that would normally be in RAM but doesn't fit, and with only 8 GB physical memory, the page file is going to be in play when you run a demanding app like Sims 4.
Point is, please clear another 15 GB, at least, on your C drive. You can see the free and total space by opening a File Explorer window and clicking This PC in the left panel. Restart your computer afterwards.
Try again to play, and if you can't, manually increase the size of the page file. (The system may increase it for you once there's more space, but if not, you can do so yourself.) Here's how (option three):
https://www.elevenforum.com/t/manage-virtual-memory-paging-file-in-windows-11.8618/
Set the minimum to 16384 and the max to 20480, and restart your computer, then try again to play.