Memory Leak Occurs Writing Windows Media Audio (312884)
The information in this article applies to:
- Microsoft Windows Media SDK, version 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.
STATUSMicrosoft 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.
Modification Type: | Major | Last Reviewed: | 12/4/2001 |
---|
Keywords: | kbprb KB312884 |
---|
|