Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF MediaElement memory leak

$
0
0
Hi,
My application does movies presentations, so ever 10-30 seconds the movie ends and a new movie starts.
I'm using the MediaElement, after the execution I call the method MediaElement.Close to close the resource, but I think the resource still is opened, because the memory are increasing.
After 30 minutes running, memory usage increase by 50 mb and doesn't stop.
After 4 hours running, memory usage increase by 350 mb and doesn't stop.
My application stay running all day long, so isn't usual keep the memory usage that way. In somes cases the application can stay running a week without restart.
Some idea?


Viewing all articles
Browse latest Browse all 18858

Trending Articles