Skip to content

Commit ab41cde

Browse files
authored
minor updates
1 parent 9aa449a commit ab41cde

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

support/sql/ssms/exception-you-execute-query.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: OutOfMemoryException error when you execute a query
2+
title: OutOfMemoryException Error When You Execute a Query
33
description: This article provides workarounds for the problem that occurs when you use SQL Server Management Studio (SSMS) to run a SQL query that returns a large amount of data.
4-
ms.date: 04/02/2025
4+
ms.date: 04/08/2025
55
ms.custom: sap:SQL Server Management, Query and Data Tools
6+
ms.reviewer: jopilov
67
---
78
# OutOfMemoryException error when you execute a query in SQL Server Management Studio (SSMS)
89

@@ -44,6 +45,6 @@ Configure the query window to output the query results to a file. A file output
4445

4546
## Method 3: Use sqlcmd
4647

47-
Use [sqlcmd Utility](/sql/tools/sqlcmd-utility?redirectedfrom=MSDN&view=sql-server-ver15&preserve-view=true) instead of SSMS to run the SQL queries. This method enables queries to be run without the resources that are required by the SSMS UI. Additionally, you can use the 64-bit version of Sqlcmd.exe to avoid the memory restriction that affects the 32-bit SSMS process.
48+
Use [sqlcmd Utility](/sql/tools/sqlcmd/sqlcmd-utility) instead of SSMS to run the SQL queries. This method enables queries to be run without the resources that are required by the SSMS UI. Additionally, you can use the 64-bit version of Sqlcmd.exe to avoid the memory restriction that affects the 32-bit SSMS process.
4849

4950

0 commit comments

Comments
 (0)