WPF MediaElement内存泄漏 [英] WPF MediaElement memory leak

查看:573
本文介绍了WPF MediaElement内存泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

考虑到内存管理不是你的工作,而是GC的工作。如果您的计算机具有4 GB的RAM并且可以使用大量的RAM,则GC不会在清理时遇到麻烦。你应该测试一下。创建另一个消耗大量内存
的程序,看看你的应用程序是否有任何反应。
Take into account that memory management isn't your job, but the GC's. If your computer has 4 GB of RAM and a lot of it is avaible, the GC will not trouble itself with cleaning that. You should test this. Create another program that consumes a lot memory and see if your application reacts in any way.


这篇关于WPF MediaElement内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆