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" (923624)
The information in this article applies to:
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
- Microsoft SQL Server 2005 Developer Edition
Bug #: 1115 (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. SUMMARYThis 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
SYMPTOMSWhen 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. RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2005 service pack that contains this hotfix. To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. 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
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 informationThis hotfix does not replace any other hotfixes. Hotfix file informationThis 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 |
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 |
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 |
Logread.exe | 2005.90.2181.0 | 1,095,456 | 15-Aug-2006 | 08:20 | ia64 | Microsoft.analysisservices.adomdclient.dll | 9.0.2181.0 | 543,520 | 15-Aug-2006 | 08:19 | 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 | 163,104 | 15-Aug-2006 | 08:18 | ia64 | 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:20 | x86 | Msgprox.dll | 2005.90.2181.0 | 542,496 | 15-Aug-2006 | 08:19 | ia64 | Msmdlocal.dll | 9.0.2181.0 | 48,837,408 | 15-Aug-2006 | 08:21 | ia64 | Msmdredir.dll | 9.0.2181.0 | 6,155,040 | 15-Aug-2006 | 08:21 | ia64 | 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 | 1,617,184 | 15-Aug-2006 | 08:21 | ia64 | Replrec.dll | 2005.90.2181.0 | 2,141,472 | 15-Aug-2006 | 08:21 | ia64 | Sqlaccess.dll | 2005.90.2181.0 | 349,472 | 15-Aug-2006 | 08:19 | x86 | Sqlagent90.exe | 2005.90.2181.0 | 1,143,584 | 15-Aug-2006 | 08:20 | ia64 | Sqlservr.exe | 2005.90.2181.0 | 72,196,896 | 15-Aug-2006 | 08:21 | ia64 | Sysdbupg.sql | Not
Applicable | 192,346 | 19-Jul-2006 | 17:02 | Not
Applicable | Xpstar90.dll | 2005.90.2181.0 | 950,560 | 15-Aug-2006 | 08:22 | ia64 | Xpstar90.rll | 2005.90.2181.0 | 152,352 | 15-Aug-2006 | 08:18 | ia64 |
WORKAROUNDTo work around this problem, stop and then restart SQL Server
2005.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 10/4/2006 |
---|
Keywords: | kbBug kbfix kbtshoot kbQFE kbhotfixserver kbpubtypekc KB923624 kbAudITPRO kbAudDeveloper |
---|
|