- Since only a 32-bit SSMS exists run the query on a 32-bit machine.
- Change the query results to text and not grid. When the results are displayed in grid, it uses the .net CLR which is a memory hog. Or so I read.
- Of course, the third obvious solution would be closing some other large query windows if open.
Friday, August 10, 2012
System.OutOfMemoryException in SSMS
It's quite annoying to have a query running for a while just to get this error message: System.OutOfMemoryException. I am still researching this error as while the error message seems to be quite clear, it is misleading. My local machine and the server seems to have plenty of memory so that is the deal? So far I found a few possible workarounds: