Microsoft KB Archive/912439

= FIX: Error message when you try to run several queries on large data sets at the same time in SQL Server 2005: &quot;701 There is insufficient system memory to run this query&quot; =

Article ID: 912439

Article Last Modified on 4/6/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
 * Microsoft SQL Server 2005 Enterprise X64 Edition
 * Microsoft SQL Server 2005 Standard X64 Edition
 * Microsoft SQL Server 2005 Standard Edition

-



BUG #: 408980 (SQLBUDT)

BUG #: 157 (SQL Hotfix)



''Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.''



SUMMARY
This article describes the following about this hotfix release:
 * The issues that are fixed by the hotfix package
 * The prerequisites for installing the hotfix package
 * Whether you must restart the computer after you install the hotfix package
 * Whether the hotfix package is replaced by any other hotfix package
 * Whether you must make any registry changes
 * The files that are contained in the hotfix package



SYMPTOMS
In Microsoft SQL Server 2005, when you try to run several queries on large data sets at the same time, you may receive the following error message:

701: There is insufficient system memory to run this query.

When you run the DBCC MEMORYSTATUS command, the following error messages are logged in the SQL Server error log:

Error message 1

Query Memory Objects: Next Request is a large value or at least significant percentage of available memory

Error message 2

MEMORYBROKER_FOR_RESERVE Allocations is approximately 50% or more of the size of Buffer Counts: Visible



CAUSE
This problem may occur when too much memory is reserved by the SQL Server Memory Broker.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005

Prerequisites
There are no prerequisites for this hotfix.

Restart information
You must restart the MSSQLSERVER service after you apply this hotfix.

Registry information
You do not have to change the registry.

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

SQL Server 2005 Itanium architecture version


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft SQL Server 2005 Service Pack 1.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbqfe kbprb kbhotfixserver kbsql2005engine kbsql2005presp1fix KB912439

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.