Microsoft KB Archive/312884

= Memory Leak Occurs Writing Windows Media Audio =

Article ID: 312884

Article Last Modified on 12/4/2001

-

APPLIES TO


 * Microsoft Windows Media Format Software Development Kit 7.1

-



This article was previously published under Q312884



SYMPTOMS
When you use the Windows Media writer object to write audio data to a Windows Media file, a memory leak may occur in the Windows Media audio codec, Wmadmoe.dll.

The leak only occurs on systems with Intel processors because the codec uses the Intel Fast Fourier Transform (FFT) library for Intel processors. An FFT provides a fast algorithm for transforming discrete data from the time domain to the frequency domain.



CAUSE
Memory allocations are not paired with equivalent memory deallocations.



WORKAROUND
To work around this problem, restart the SDK application before the system runs out of memory.



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

This bug is scheduled to be corrected in a future version of the Windows Media Format SDK.



MORE INFORMATION
To reproduce this behavior, use the WriteSample method of the IWMWriter interface to write a few seconds of audio data to a Windows Media Audio file in a loop.

Keywords: kbprb KB312884

-

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

© Microsoft Corporation. All rights reserved.