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.

FIX: Memory leak of HttpChannelRequest objects after a WebException exception occurs on a .NET Framework 3.0-based client application


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You use a Microsoft .NET Framework 3.0-based client application that uses the HTTP protocol over Secure Sockets Layer (SSL) to access a Windows Communication Foundation (WCF) service.
  • A System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest object is invoked on the client application.
  • You close the connection to the WCF service. Or, the WCF service becomes unavailable. A WebException exception is encountered.
In this scenario, the memory of the HttpChannelRequest object is not released. Therefore, a memory leak occurs, and the performance of the client application might decrease.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website: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

To apply this hotfix, you must have the Microsoft .NET Framework 3.0 Service Pack 1 (SP1) installed on one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)


Restart requirement

You have to restart the computer after you install this hotfix if the affected files are being used. 

We recommend that you exit all .NET Framework applications before you install this hotfix.

File information

The global 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.

For all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Smdiagnostics.dll3.0.4506.5719110,59217-Aug-201110:55x86
Smsvchost.exe3.0.4506.5719128,84817-Aug-201110:55x86
System.identitymodel.dll3.0.4506.5719442,36817-Aug-201110:55x86
System.runtime.serialization.dll3.0.4506.5719970,75217-Aug-201110:55x86
System.runtime.serialization.dll3.0.4506.5719970,75217-Aug-201110:55x86
System.servicemodel.dll3.0.4506.57195,992,44817-Aug-201110:55x86
System.servicemodel.washosting.dll3.0.4506.571932,76817-Aug-201110:55x86
System.servicemodel.dll3.0.4506.57195,992,44817-Aug-201110:55x86
Servicemodel.mofNot Applicable85,11328-Jul-201110:57Not Applicable
Servicemodel.mof.uninstallNot Applicable89612-Aug-201014:24Not Applicable
Servicemonikersupport.dll3.0.4506.571917,25617-Aug-201110:55x86
System.identitymodel.dll3.0.4506.5719442,36817-Aug-201110:55x86
System.runtime.serialization.dll3.0.4506.5719970,75217-Aug-201110:55x86
System.servicemodel.dll3.0.4506.57195,992,44817-Aug-201110:55x86
For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable85,11328-Jul-201110:55Not Applicable
Servicemodel.mof.uninstallNot Applicable89612-Aug-201014:10Not Applicable
Servicemonikersupport.dll3.0.4506.571919,30417-Aug-201110:53x64
Smdiagnostics.dll3.0.4506.571994,20817-Aug-201110:53x64
Smsvchost.exe3.0.4506.5719116,56017-Aug-201110:53x64
System.identitymodel.dll3.0.4506.5719401,40817-Aug-201110:53x64
System.runtime.serialization.dll3.0.4506.5719847,87217-Aug-201110:53x64
System.runtime.serialization.dll3.0.4506.5719847,87217-Aug-201110:53x64
System.servicemodel.dll3.0.4506.57195,332,99217-Aug-201110:53x64
System.servicemodel.washosting.dll3.0.4506.571932,76817-Aug-201110:53x64
System.servicemodel.dll3.0.4506.57195,332,99217-Aug-201110:53x64
For all supported IA-64–version of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Servicemodel.mofNot Applicable85,11328-Jul-201111:26Not Applicable
Servicemodel.mof.uninstallNot Applicable89616-Aug-201014:36Not Applicable
Servicemonikersupport.dll3.0.4506.571933,64017-Aug-201111:22IA-64
Smdiagnostics.dll3.0.4506.571994,20817-Aug-201111:22IA-64
Smsvchost.exe3.0.4506.5719116,56017-Aug-201111:22IA-64
System.identitymodel.dll3.0.4506.5719401,40817-Aug-201111:22IA-64
System.runtime.serialization.dll3.0.4506.5719847,87217-Aug-201111:22IA-64
System.runtime.serialization.dll3.0.4506.5719847,87217-Aug-201111:22IA-64
System.servicemodel.dll3.0.4506.57195,332,99217-Aug-201111:22IA-64
System.servicemodel.washosting.dll3.0.4506.571932,76817-Aug-201111:22IA-64
System.servicemodel.dll3.0.4506.57195,332,99217-Aug-201111:22IA-64
Additional file information for x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameX86_wcf-m_sm_mof_31bf3856ad364e35_6.0.6002.22698_none_c6889df796aaae06.manifest
File versionNot Applicable
File size3,093
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameX86_wcf-m_svc_mon_sup_dll_31bf3856ad364e35_6.0.6002.22698_none_a7f4d63462240f34.manifest
File versionNot Applicable
File size12,285
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameX86_wcf-system.identitymodel_b03f5f7f11d50a3a_6.0.6002.22698_none_0ebefc585a6f686e.manifest
File versionNot Applicable
File size5,464
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameX86_wcf-system.runtime.serialization_b03f5f7f11d50a3a_6.0.6002.22698_none_f05743a13aa5eed5.manifest
File versionNot Applicable
File size3,062
Date (UTC)17-Aug-2011
Time (UTC)15:51
File nameX86_wcf-system.servicemodel_b03f5f7f11d50a3a_6.0.6002.22698_none_fe0f538d0565ac87.manifest
File versionNot Applicable
File size8,172
Date (UTC)17-Aug-2011
Time (UTC)15:45
Additional file information for x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
File nameAmd64_wcf-m_sm_mof_31bf3856ad364e35_6.0.6002.22698_none_22a7397b4f081f3c.manifest
File versionNot Applicable
File size3,095
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameAmd64_wcf-m_svc_mon_sup_dll_31bf3856ad364e35_6.0.6002.22698_none_041371b81a81806a.manifest
File versionNot Applicable
File size12,293
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameAmd64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.0.6002.22698_none_0aa72e801dbae104.manifest
File versionNot Applicable
File size4,081
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameAmd64_wcf-smsvchost_b03f5f7f11d50a3a_6.0.6002.22698_none_dc80889c686c95ec.manifest
File versionNot Applicable
File size9,503
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameAmd64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.0.6002.22698_none_c711c58145f33f68.manifest
File versionNot Applicable
File size6,536
Date (UTC)17-Aug-2011
Time (UTC)15:47
File nameAmd64_wcf-system.runtime.serialization.ref_b03f5f7f11d50a3a_6.0.6002.22698_none_6dd2ffffd231cb36.manifest
File versionNot Applicable
File size4,098
Date (UTC)17-Aug-2011
Time (UTC)15:51
File nameAmd64_wcf-system.runtime.serialization_b03f5f7f11d50a3a_6.0.6002.22698_none_a8aa0cca2629c5cf.manifest
File versionNot Applicable
File size4,123
Date (UTC)17-Aug-2011
Time (UTC)15:51
File nameAmd64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.0.6002.22698_none_8a44f926774755b6.manifest
File versionNot Applicable
File size11,157
Date (UTC)17-Aug-2011
Time (UTC)15:51
File nameAmd64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.0.6002.22698_none_16fb6c88a4484d94.manifest
File versionNot Applicable
File size4,413
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameAmd64_wcf-system.servicemodel_b03f5f7f11d50a3a_6.0.6002.22698_none_b6621cb5f0e98381.manifest
File versionNot Applicable
File size28,378
Date (UTC)17-Aug-2011
Time (UTC)15:45
Additional file information for IA-64based versions of Windows Server 2008 SP2
File nameIa64_wcf-m_sm_mof_31bf3856ad364e35_6.0.6002.22698_none_c68a41ed96a8b702.manifest
File versionNot Applicable
File size3,094
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameIa64_wcf-m_svc_mon_sup_dll_31bf3856ad364e35_6.0.6002.22698_none_a7f67a2a62221830.manifest
File versionNot Applicable
File size12,290
Date (UTC)17-Aug-2011
Time (UTC)15:45
File nameIa64_wcf-smdiagnostics_b03f5f7f11d50a3a_6.0.6002.22698_none_52544319323741ee.manifest
File versionNot Applicable
File size4,074
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameIa64_wcf-smsvchost_b03f5f7f11d50a3a_6.0.6002.22698_none_242d9d357ce8f6d6.manifest
File versionNot Applicable
File size9,493
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameIa64_wcf-system.identitymodel_b03f5f7f11d50a3a_6.0.6002.22698_none_0ebeda1a5a6fa052.manifest
File versionNot Applicable
File size6,521
Date (UTC)17-Aug-2011
Time (UTC)15:46
File nameIa64_wcf-system.runtime.serialization.ref_b03f5f7f11d50a3a_6.0.6002.22698_none_b5801498e6ae2c20.manifest
File versionNot Applicable
File size4,091
Date (UTC)17-Aug-2011
Time (UTC)15:48
File nameIa64_wcf-system.runtime.serialization_b03f5f7f11d50a3a_6.0.6002.22698_none_f05721633aa626b9.manifest
File versionNot Applicable
File size4,116
Date (UTC)17-Aug-2011
Time (UTC)15:49
File nameIa64_wcf-system.servicemodel.ref_b03f5f7f11d50a3a_6.0.6002.22698_none_d1f20dbf8bc3b6a0.manifest
File versionNot Applicable
File size11,126
Date (UTC)17-Aug-2011
Time (UTC)15:49
File nameIa64_wcf-system.servicemodel.washosting_b03f5f7f11d50a3a_6.0.6002.22698_none_5ea88121b8c4ae7e.manifest
File versionNot Applicable
File size4,405
Date (UTC)17-Aug-2011
Time (UTC)15:45
File nameIa64_wcf-system.servicemodel_b03f5f7f11d50a3a_6.0.6002.22698_none_fe0f314f0565e46b.manifest
File versionNot Applicable
File size28,347
Date (UTC)17-Aug-2011
Time (UTC)15:44

↑ 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


Keywords: kbqfe, kbhotfixserver, kbfix, kbhotfixdev, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2583987
Revision : 1
Created on : 1/7/2017
Published on : 9/14/2011
Exists online : False
Views : 182