Sudden Game Crashes

Ok so one morning my GarrysMod messes up as in crashes every 5 to 10 minutes, and I’ve tried Re-Installing, removing ALL addons, reinstalling TF2 and CS:S, and I’ve also verifed integrity of game cache for all of them and I cannot find a fix.
But instead it says I’m getting memory issues but I have 16GB of RAM and this has never happened for any other game and this just started randomly happening.

Try setting -heapsize [kilobytes] in the command line. Set it to anything higher than 1-2 GB.

@stev_ I’ve tried that I also upgraded from Windows 7 to Windows 10 which completely cleaned my computer