Silverlight - 已知的一些bug (内存泄露)和解决办法

Silverlight - 已知的一些bug (内存泄露)和解决办法,第1张

概述最近在找一些关于Silverlight 程序内存泄露的问题。找到一篇2008年10月的blog ,里面列举了一些已知的bug和修补办法,不确定这些bug在新版本中是否被修复了。其中果然有内存泄露相关的bug....   Memory Leak when you Dynamically add and remove Images Workaround: When dynamically adding

最近在找一些关于Silverlight 程序内存泄露的问题。找到一篇2008年10月的blog ,里面列举了一些已知的BUG和修补办法,不确定这些BUG在新版本中是否被修复了。其中果然有内存泄露相关的BUG....

 

Memory Leak when you Dynamically add and remove Images


Workaround: When dynamically adding or removing BitmAPImages from an application (a.k.a. adding/removing from the tree),you should set Image.source = null before removing the Image element from the tree. This will make the BitmAPImage eligible for garbage collection.
BUG Status: Active BUG. *

 

ImageSource and ImageBrush events can cause a memory leak

 

搜索Microsoft Connect 网站又找到一个,Silverlight 4中的关于内存的BUG:

 

Silverlight 4: High memory usage results in crash when navigating away from the page 总结

以上是内存溢出为你收集整理的Silverlight - 已知的一些bug (内存泄露)和解决办法全部内容,希望文章能够帮你解决Silverlight - 已知的一些bug (内存泄露)和解决办法所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1031414.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存