FIX: COM Applications May Cause a Kernel-Mode Memory Leak

Article translations Article translations
Article ID: 821457 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

Some COM applications may cause a leak in the kernel-mode memory. When the leak occurs, Performance Monitor verifies that the value of the Pool Nonpaged Bytes counter increases over time.

CAUSE

A bug in the COM runtime may cause registry notifications to build up.

MORE INFORMATION

This bug does not affect the majority of COM applications. It affects only applications that repeatedly initialize and then uninitialize COM runtime. For example, this bug affects applications that call the CoInitialize function and the CoUninitialize function in a loop. To determine whether an application is affected by this bug, run REGEDIT.EXE, and then quit REGEDIT.EXE without making any changes. When you run and then quit REGEDIT.EXE without making changes, all the registry notifications are cleaned up.

Note If your application is affected by this bug, you notice a decrease in the use of nonpooled page memory.

How to Obtain the Hotfix

This issue is fixed in the Windows 2000 Pre-Service Pack 5 COM+ Hotfix Package . For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
822618 INFO: Availability of Windows 2000 Post-Service Pack 4 COM+ Hotfix Rollup Package 27

RESOLUTION

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.

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 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 Web site:
http://support.microsoft.com/contactus/?ws=support
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.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Properties

Article ID: 821457 - Last Review: February 27, 2014 - Revision: 1.6
APPLIES TO
  • Microsoft Windows 2000, when used with:
    • Microsoft Windows 2000 Service Pack 1
    • Microsoft Windows 2000 Service Pack 2
    • Microsoft Windows 2000 Service Pack 3
    • Microsoft Windows 2000 Service Pack 4
Keywords: 
kbnosurvey kbarchive kbautohotfix kbhotfixserver kbbug kbfix kbqfe KB821457

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