You encounter a memory leak issue when an application calls the WinHttpGetProxyForUrl function in Windows 7 or in Windows Server 2008 R2

Article translations Article translations
Article ID: 2703157 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Assume that you develop an application that makes use of the WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) or calls the WinHttpGetProxyForUrl function. When you run this application on a computer that is running Windows 7 or Windows Server 2008 R2, you encounter a memory leak issue.

Note The memory leak issue is in the WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) host process. The issue occurs when the WinHttpGetProxyForUrl function is called. Therefore, the memory usage of the process increases every time that the WinHttpGetProxyForUrl function is called.

CAUSE

This issue occurs because the cleanup code is not executed in DLL_PROCESS_DETACH when the Jscript.dll file is dynamically unloaded.

RESOLUTION

To resolve this issue, install one of the following updates, depending on your operating system:You can also install the following security update to resolve this issue. 

Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to the following Microsoft website: 
http://update.microsoft.com
For more technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft website: 
http://www.microsoft.com/technet/security/current.aspx

Note This update was first included in security update 2699988. For more information about the security update, click the following article number to view the article in the Microsoft Knowledge Base:
2699988 MS12-037: Cumulative security update for Internet Explorer: June 12, 2012

Properties

Article ID: 2703157 - Last Review: June 13, 2012 - Revision: 1.1
APPLIES TO
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Service Pack 1
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Datacenter without Hyper-V
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Enterprise without Hyper-V
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Service Pack 1
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Standard without Hyper-V
Keywords: 
kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced KB2703157

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com