leak memory with EndWriting() of Format SDK 9.5

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Patrice Peyrano (test_at_test.gg)
Date: 01/18/05


Date: Tue, 18 Jan 2005 12:41:29 +0100

Hello,

We have an important leak memory problem since we use Format SDK 9.5
instead of Format SDK 9.
Our application runs 24 hours a day on our clients machines, and creates
thousands of files per day, so far, without any problem with Format SDK 9.
We simply installed the 9.5 sdk version and recompiled.
In three days, and after having created about 15,000 files, our program
memory usage went up from 130 MB to 1,5 GB!
That's a loss of about 90kB per file.
We suppose that the following sequence
m_pIWriter->EndWriting():
m_pIWriterAdvanced->Release();
m_pIWriter->Release();
no longer frees the memory.

On a client machine, with our application, we installed Windows Media player
9, there wasn't any problem.
Next we installed the version 10 and the problem appeared immediately.

Is this problem known? Is there a solution?
Thanks in advance.

Patrice Peyrano



Relevant Pages