FIX: Error message when you run an application against SQL Server 2005 that uses many unique user logins or performs many user login impersonations: "insufficient system memory to run this query"
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.
On This Page
SUMMARY
This article describes the following about this hotfix
release:
•
The issues that are fixed by this hotfix package
•
The prerequisites for applying this hotfix
package
•
Whether you must restart the computer after you apply this
hotfix package
•
Whether this hotfix package is replaced by any other hotfix
package
•
Whether you must make any registry changes after you apply this
hotfix package
•
The files that are contained in this hotfix
package
When you run an application against SQL Server 2005,
you may receive an error message that resembles the following:
2006-05-31 05:22:14.31 spid51 Error: 701, Severity: 17,
State: 193. 2006-05-31 05:22:14.31 spid51 There is insufficient system
memory to run this query.
This problem may occur if the application
uses many unique user logins or performs many user login impersonations.
When this problem occurs, you may also
see a high allocation value for the SinglePage Allocator counter of the USERSTORE_TOKENPERM command statements in the DBCC MemoryStatus statement. The following message is an example that shows a high
allocation value in the USERSTORE_TOKENPERM command statement.
USERSTORE_TOKENPERM (Total)
VM Reserved = 0 KB
VM Committed = 0 KB
AWE Allocated = 0 KB
SM Reserved = 0 KB
SM Committed = 0 KB
SinglePage Allocator = 1414456 KB.
MultiPage Allocator = 0 KB
Note This problem may occur when you are using any edition of SQL Server 2005. However, this
problem is more likely to occur when you are using Microsoft SQL Server 2005 Express
Edition.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" section and the online request forms display the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
•
Microsoft SQL Server 2005 Service Pack 1
(SP1)
For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
913089 (http://support.microsoft.com/kb/913089/)
How to obtain the latest service
pack for SQL Server 2005
Restart information
You do not have to restart the computer after you apply this
hotfix.
Registry information
You do not have to change the registry after you apply this
hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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 item in Control Panel.
SQL Server 2005 hotfix, 32-bit
File name
File version
File
size
Date
Time
Platform
Logread.exe
2005.90.2181.0
398,112
15-Aug-2006
08:28
x86
Microsoft.analysisservices.adomdclient.dll
9.0.2181.0
543,520
15-Aug-2006
08:28
x86
Microsoft.analysisservices.deploymentengine.dll
9.0.2181.0
138,016
15-Aug-2006
08:26
x86
Microsoft.analysisservices.dll
9.0.2181.0
1,215,264
15-Aug-2006
08:26
x86
Microsoft.sqlserver.mgdsqldumper.dll
2005.90.2181.0
75,552
15-Aug-2006
08:25
x86
Microsoft.sqlserver.sqlenum.dll
9.0.2181.0
908,064
15-Aug-2006
08:26
x86
Msgprox.dll
2005.90.2181.0
197,920
15-Aug-2006
08:28
x86
Msmdlocal.dll
9.0.2181.0
15,703,840
15-Aug-2006
08:27
x86
Msmdredir.dll
9.0.2181.0
3,968,800
15-Aug-2006
08:27
x86
Mssqlsystemresource.ldf
Not
Applicable
524,288
14-Aug-2006
22:49
Not
Applicable
Mssqlsystemresource.mdf
Not
Applicable
39,911,424
14-Aug-2006
22:49
Not
Applicable
Replprov.dll
2005.90.2181.0
547,616
15-Aug-2006
08:29
x86
Replrec.dll
2005.90.2181.0
782,112
15-Aug-2006
08:26
x86
Sqlaccess.dll
2005.90.2181.0
347,936
15-Aug-2006
08:28
x86
Sqlagent90.exe
2005.90.2181.0
319,264
15-Aug-2006
08:27
x86
Sqlservr.exe
2005.90.2181.0
28,951,384
15-Aug-2006
08:27
x86
Sysdbupg.sql
Not
Applicable
192,346
19-Jul-2006
17:02
Not
Applicable
Xpstar90.dll
2005.90.2181.0
292,640
15-Aug-2006
08:31
x86
Xpstar90.rll
2005.90.2181.0
152,864
15-Aug-2006
08:27
x86
SQL Server 2005 hotfix, 64-bit
File name
File version
File
size
Date
Time
Platform
Logread.exe
2005.90.2181.0
522,528
15-Aug-2006
08:20
x64
Microsoft.analysisservices.adomdclient.dll
9.0.2181.0
543,520
15-Aug-2006
08:20
x86
Microsoft.analysisservices.adomdclient.dll
9.0.2181.0
543,520
15-Aug-2006
08:28
x86
Microsoft.analysisservices.deploymentengine.dll
9.0.2181.0
138,016
15-Aug-2006
08:26
x86
Microsoft.analysisservices.dll
9.0.2181.0
1,215,264
15-Aug-2006
08:26
x86
Microsoft.sqlserver.mgdsqldumper.dll
2005.90.2181.0
91,424
15-Aug-2006
08:19
x64
Microsoft.sqlserver.mgdsqldumper.dll
2005.90.2181.0
75,552
15-Aug-2006
08:25
x86
Microsoft.sqlserver.sqlenum.dll
9.0.2181.0
875,296
15-Aug-2006
08:21
x86
Msgprox.dll
2005.90.2181.0
259,360
15-Aug-2006
08:20
x64
Msmdlocal.dll
9.0.2181.0
15,703,840
15-Aug-2006
08:27
x86
Msmdredir.dll
9.0.2181.0
3,968,800
15-Aug-2006
08:27
x86
Mssqlsystemresource.ldf
Not
Applicable
524,288
14-Aug-2006
22:49
Not
Applicable
Mssqlsystemresource.mdf
Not
Applicable
39,911,424
14-Aug-2006
22:49
Not
Applicable
Replprov.dll
2005.90.2181.0
745,248
15-Aug-2006
08:21
x64
Replrec.dll
2005.90.2181.0
1,008,416
15-Aug-2006
08:19
x64
Sqlaccess.dll
2005.90.2181.0
355,104
15-Aug-2006
08:20
x86
Sqlagent90.exe
2005.90.2181.0
390,944
15-Aug-2006
08:20
x64
Sqlservr.exe
2005.90.2181.0
39,327,520
15-Aug-2006
08:20
x64
Sysdbupg.sql
Not
Applicable
192,346
19-Jul-2006
17:02
Not
Applicable
Xpstar90.dll
2005.90.2181.0
540,448
15-Aug-2006
08:20
x64
Xpstar90.rll
2005.90.2181.0
153,376
15-Aug-2006
08:19
x64
SQL Server 2005 hotfix, 64-bit for Itanium processors
Contact Microsoft Phone Numbers, Support Options and Pricing, Online Help, and more.
Customer Service For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
Newsgroups Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.