Microsoft KB Archive/330260

= Nschmgr.ocx Leaks Memory Each Time You Create and Destroy a Stream Object =

Article ID: 330260

Article Last Modified on 1/16/2004

-

APPLIES TO


 * Microsoft Windows Media Services 4.1

-



This article was previously published under Q330260



SYMPTOMS
When you use an application that automates the Windows Media Services station control for administering multicast stations, and if you create and destroy the station many times (the number varies), the host application may gradually use more memory.

If the application remains open, the host application might stop responding.



CAUSE
There is a small memory leak in the Nschmgr.ocx control.



WORKAROUND
To work around this issue, close the host application. This seems to free the extra memory that was allocated by the control.



STATUS
Microsoft has confirmed that this is a problem in Windows Media Services 4.1.



MORE INFORMATION
Only 28 to 58 bytes of memory are leaked when the stream object is created and destroyed after it has been open for a lengthy period of time.

The Windows Media Station Service (Nscm.exe) and the Windows Media Program Service (Nspm.exe) are not affected except for the memory use of the host application if the host application is running on the same computer as the services. Additionally, the Windows Media Administrator does not appear to be affected.

Additional query words: WMT WMS leak nschmgr

Keywords: kbprb kbdswwmm2003swept KB330260

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.