Memory Leak in WDM Provider's ExecMethodAsync Method in Windows XP and Windows 2000 (323289)



The information in this article applies to:

  • Microsoft Windows Management Instrumentation 1.5, when used with:
    • Microsoft Windows XP Professional

This article was previously published under Q323289

SYMPTOMS

There is a small memory leak in the Windows Driver Model (WDM) provider's ExecMethodAsync method that you can see by monitoring the "Private Bytes" performance counter for the provider's process. In Windows 2000, the WDM provider is loaded in the Winmgmt.exe process. Under Windows XP, the WDM provider is loaded in the Wmiprvse.exe process. You can also view this performance counter by monitoring the virtual memory size of the process by using Windows Task Manager.

CAUSE

The WDM provider's ExecMethodAsync method does not release an IWbemClassObject interface pointer.

RESOLUTION

Windows XP

Service Pack Information

To resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to Obtain the Latest Windows XP Service Pack

Hotfix Information

The English version of this fix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time      Version       Size     File name    Platform
   --------------------------------------------------------------------
   23-May-2002  17:29:24  5.1.2600.45   122,368  Wmiprov.dll  Intel
				

Windows 2000

Service Pack Information

To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information

A 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 Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone 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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time      Version       Size     File name     Platform
   --------------------------------------------------------------------
   31-May-2002  13:11:22  1.50.1085.84  110,666  Wmiprov.dll   Intel
				

STATUS

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

Windows XP

This problem was first corrected in Windows XP Service Pack 1.

Windows 2000

This problem was first corrected in Microsoft Windows 2000 Service Pack 4.

MORE INFORMATION

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot


Modification Type:MinorLast Reviewed:10/11/2005
Keywords:kbHotfixServer kbQFE kbQFE kbWin2kSP4fix kbbug kbenv kbfix kbSysAdmin kbWinXPsp1fix KB323289