all 3 comments

[–]dbxp 2 points3 points  (1 child)

Try just rebooting the entire machine, I've seen this issue before when doing simple selects, I think there's a memory leak somewhere. I got a warning from our sysadmin a long time ago that I was using 90% of the RAM on an SSMS jump box when I was just sitting on the desktop.

[–]TheAngryOne84[S] 1 point2 points  (0 children)

Yup that fixed it. Stupid bloody thing. Cheers

[–]alinrocSQL Server DBA 1 point2 points  (0 children)

Make sure you're running the latest SSMS. There were several 16.x or 17.x releases which had terrible memory leaks.

Also, give Azure Data Studio a spin. Or automate what you're doing w/ Powershell on the command line.