We found this problem when placing an inherited COM component in our Out Of Browser Silverlight application, believing that this is a problem with our COM component.
However, narrowing it down to the placement of the most basic COM component that you could imagine could still have a memory leak. This COM component used for testing is written in .NET and simply sends events back to the Silverlight application every time the timer fires. Each event contains only one row.
As the Silverlight application starts, the memory usage of the process continues to grow. Profilers do not show an increase in managed memory, which indicates a leak in the implementation of the Silverlight / COM runtime.
Has anyone else seen this problem, and if so, could you get around it?
Edit: The Repro project is now available at http://bitbucket.org/freed/silverlight-com-leak
memory-leaks silverlight com
Softmemes
source share