Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A memory leak occurs, and client requests may take a long time, when you run an application that is based on COM+ and that is registered as single-threaded


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You run an application that is based on Microsoft Component Services (COM+) on a computer that is running one of the following Windows operating systems:
    • Windows Vista
    • Windows Server 2008
    • Windows 7
    • Windows Server 2008 R2
  • The application relies on some COM+ components that are registered as single-threaded.
    Note The threading-model property of the components is set to Single Thread Apartment (STA).


In this scenario, you may encounter the following two issues:
  • A memory leak occurs in the COM+ application. Therefore, the application stops responding.
  • Calls from clients to the COM+ components are placed in a waiting status. Therefore, client requests take a long time to execute.

↑ Back to the top


Cause

This issue occurs because Object Contexts sometimes are not released.

↑ Back to the top


Resolution

Hotfix information

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 the problem described in this article. 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, contact Microsoft Customer Service and Support to obtain the hotfix.

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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
Note The "Hotfix download available" form displays 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

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008
For more information about how to obtain a Windows 7 or a Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Ole32.dll6.0.6002.226331,317,37628-Apr-201115:18x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatformService branch
Ole32.dll6.0.6002.226331,916,92828-Apr-201115:26x64AMD64_MICROSOFT-WINDOWS-COM-BASE-QFE
Ole32.dll6.0.6002.226331,317,37628-Apr-201115:18x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatformService branch
Ole32.dll6.0.6002.226334,183,04028-Apr-201115:23IA-64IA64_MICROSOFT-WINDOWS-COM-BASE-QFE
Ole32.dll6.0.6002.226331,317,37628-Apr-201115:18x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.1.760 0 . 16xxxWindows 7 and Windows Server 2008 R2RTMGDR
    6.1.760 0 . 21xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.760 1 . 17xxxWindows 7 and Windows Server 2008 R2SP1GDR
    6.1.760 1 . 21xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatformService branch
Ole32.dll6.1.7600.168581,413,63230-Jul-201104:39x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.16858_NONE_AC17779F5389DFEA
Ole32.dll6.1.7600.210181,414,14430-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.21018_NONE_ACCC2C3C6C874332
Ole32.dll6.1.7601.176601,414,65630-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.17660_NONE_ADEB026950BF9D0F
Ole32.dll6.1.7601.217811,414,65630-Jul-201105:51x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.21781_NONE_AE5FFFA669EC8E12
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatformService branch
Ole32.dll6.1.7600.168582,085,37630-Jul-201105:38x64AMD64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.16858_NONE_083613230BE75120
Ole32.dll6.1.7600.210182,085,37630-Jul-201105:38x64AMD64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.21018_NONE_08EAC7C024E4B468
Ole32.dll6.1.7601.176602,087,42430-Jul-201105:43x64AMD64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.17660_NONE_0A099DED091D0E45
Ole32.dll6.1.7601.217812,087,42430-Jul-201105:30x64AMD64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.21781_NONE_0A7E9B2A2249FF48
Ole32.dll6.1.7600.168581,413,63230-Jul-201104:39x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.16858_NONE_AC17779F5389DFEA
Ole32.dll6.1.7600.210181,414,14430-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.21018_NONE_ACCC2C3C6C874332
Ole32.dll6.1.7601.176601,414,65630-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.17660_NONE_ADEB026950BF9D0F
Ole32.dll6.1.7601.217811,414,65630-Jul-201105:51x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.21781_NONE_AE5FFFA669EC8E12
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatformService branch
Ole32.dll6.1.7600.168584,936,19230-Jul-201106:52IA-64IA64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.16858_NONE_AC191B955387E8E6
Ole32.dll6.1.7600.210184,937,72830-Jul-201104:23IA-64IA64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.21018_NONE_ACCDD0326C854C2E
Ole32.dll6.1.7601.176604,938,24030-Jul-201104:08IA-64IA64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.17660_NONE_ADECA65F50BDA60B
Ole32.dll6.1.7601.217814,938,24030-Jul-201104:16IA-64IA64_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.21781_NONE_AE61A39C69EA970E
Ole32.dll6.1.7600.168581,413,63230-Jul-201104:39x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.16858_NONE_AC17779F5389DFEA
Ole32.dll6.1.7600.210181,414,14430-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7600.21018_NONE_ACCC2C3C6C874332
Ole32.dll6.1.7601.176601,414,65630-Jul-201104:31x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.17660_NONE_ADEB026950BF9D0F
Ole32.dll6.1.7601.217811,414,65630-Jul-201105:51x86X86_MICROSOFT-WINDOWS-COM-BASE-QFE-OLE32_31BF3856AD364E35_6.1.7601.21781_NONE_AE5FFFA669EC8E12

↑ Back to the top


Workaround

To work around the issue that client requests take a long time to execute, change the threading-model property of the COM+ components from STA to Main Thread Apartment (MTA) or to thread-neutral apartment (TNA).

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, 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
For more information about threading model attributes, visit the following Microsoft Developer Network (MSDN) website:

General information about threading model attributes

For more information about the COM+ apartment model, visit the following Microsoft Learning website:

General information about the COM+ apartment model

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot applicable
File size3,078
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameX86_87237d4762996d2f97091229e8294d8f_31bf3856ad364e35_6.0.6002.22633_none_34e09ae21e09c9ac.manifest
File versionNot applicable
File size706
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22633_none_ae70565908aade82.manifest
File versionNot applicable
File size8,846
Date (UTC)28-Apr-2011
Time (UTC)15:34
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_45f76e4265d6a714d5e11daa61740757_31bf3856ad364e35_6.0.6002.22633_none_33098a95929103e1.manifest
File versionNot applicable
File size1,060
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameAmd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22633_none_0a8ef1dcc1084fb8.manifest
File versionNot applicable
File size8,892
Date (UTC)28-Apr-2011
Time (UTC)15:43
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size3,102
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22633_none_ae70565908aade82.manifest
File versionNot applicable
File size8,846
Date (UTC)28-Apr-2011
Time (UTC)15:34
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_f20b77fda5dde89d2c53f0c1c74f4908_31bf3856ad364e35_6.0.6002.22633_none_52b58a04546438e7.manifest
File versionNot applicable
File size1,058
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameIa64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22633_none_ae71fa4f08a8e77e.manifest
File versionNot applicable
File size8,868
Date (UTC)28-Apr-2011
Time (UTC)15:32
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,255
Date (UTC)29-Apr-2011
Time (UTC)08:19
PlatformNot applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22633_none_ae70565908aade82.manifest
File versionNot applicable
File size8,846
Date (UTC)28-Apr-2011
Time (UTC)15:34
PlatformNot applicable

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameUpdate-bf.mum
File versionNot Applicable
File size2,719
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,773
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.16858_none_ac17779f5389dfea.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:34
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.21018_none_accc2c3c6c874332.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:18
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.17660_none_adeb026950bf9d0f.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:21
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21781_none_ae5fffa669ec8e12.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)06:33
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.16858_none_083613230be75120.manifest
File versionNot Applicable
File size2,472
Date (UTC)30-Jul-2011
Time (UTC)06:15
PlatformNot Applicable
File nameAmd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.21018_none_08eac7c024e4b468.manifest
File versionNot Applicable
File size2,472
Date (UTC)30-Jul-2011
Time (UTC)06:20
PlatformNot Applicable
File nameAmd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.17660_none_0a099ded091d0e45.manifest
File versionNot Applicable
File size2,472
Date (UTC)30-Jul-2011
Time (UTC)06:24
PlatformNot Applicable
File nameAmd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21781_none_0a7e9b2a2249ff48.manifest
File versionNot Applicable
File size2,472
Date (UTC)30-Jul-2011
Time (UTC)07:01
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size3,153
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,215
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.16858_none_ac17779f5389dfea.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:34
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.21018_none_accc2c3c6c874332.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:18
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.17660_none_adeb026950bf9d0f.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:21
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21781_none_ae5fffa669ec8e12.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)06:33
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File nameIa64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.16858_none_ac191b955387e8e6.manifest
File versionNot Applicable
File size2,470
Date (UTC)30-Jul-2011
Time (UTC)07:21
PlatformNot Applicable
File nameIa64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.21018_none_accdd0326c854c2e.manifest
File versionNot Applicable
File size2,470
Date (UTC)30-Jul-2011
Time (UTC)05:44
PlatformNot Applicable
File nameIa64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.17660_none_adeca65f50bda60b.manifest
File versionNot Applicable
File size2,470
Date (UTC)30-Jul-2011
Time (UTC)05:49
PlatformNot Applicable
File nameIa64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21781_none_ae61a39c69ea970e.manifest
File versionNot Applicable
File size2,470
Date (UTC)30-Jul-2011
Time (UTC)07:00
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size2,126
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,168
Date (UTC)31-Jul-2011
Time (UTC)11:27
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.16858_none_ac17779f5389dfea.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:34
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.21018_none_accc2c3c6c874332.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:18
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.17660_none_adeb026950bf9d0f.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)05:21
PlatformNot Applicable
File nameX86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21781_none_ae5fffa669ec8e12.manifest
File versionNot Applicable
File size2,468
Date (UTC)30-Jul-2011
Time (UTC)06:33
PlatformNot Applicable

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbexpertiseadvanced, kbsurveynew, KB2545479

↑ Back to the top

Article Info
Article ID : 2545479
Revision : 5
Created on : 7/12/2013
Published on : 7/12/2013
Exists online : False
Views : 455