This specific issue was fixed in Patch 1.24.112
Lags and freezes still occur for various reasons though. There’s many different causes.
My game freezes and lags since patch 1.24.102. Everything was ok before. The gallery and library are especially bad.
The problem seems to be caused by to many files in the tray folder. The size doesn’t seem important. It’s the number of files.
There could be other reasons but for most people it seems to be this.
Move the following folder to the desktop: documents\electronicarts\thesims4\tray until EA/Maxis can fix this issue.
Do not delete the folder. An new empty one will be recreated when you start the game.
What does the Tray folder do ?
The Tray folder contains all your Houses/Sims.. that show in your library. There’s multiple files for each element.
If you move the folder, the things will no longer show in your library. Houses and Sims in your save game will not be affected and your gallery uploads also stay intact.
Once you move back the files, they will appear in your library again.