The query results cannot be displayed because they require more display memory than SQL Server Management Studio allows. ...

The query results cannot be displayed because they require more display memory than SQL Server Management Studio allows. The results have been saved to the following temporary XML file: '{0}'. After viewing the results, you can delete the temporary file.