Lua Panic! Something went horribly wrong! "not enough memory"

About half a year ago I purchased a new PC. The first game I played on it was Garry’s mod and it worked perfectly fine and normal no errors nothing.

But now when I start Gmod and try joining my fav DarkRP server it loads and it crashes at sending client info with the Engine error: "Lua Panic! Something went horribly wrong! “Not enough memory”".

I’ve looked arround on the web and found alot of ‘solutions’ but none of these worked.
List of things I tried:
Reinstalling gmod,
Removing all addons,
Downloading server addons,
Reset windows,
Edit the gmod (“hl2.exe” in Steam\steamapps\common\GarrysMod) Compatibility mode to windows 7,
Set the launch option to -dxlevel 90,95 and 98,
Set the launch option to ^ for Cs:s & Cs:Go (the only 2 other games installed after my windows reset),
And add -autoconfig to the Gmod launch options.

None of these seem to work I still get the error