Tab控件内存泄漏
我正在使用 http://msdn.microsoft.com/en-us/magazine/dd419663 .aspx
我发现选项卡控件的选项卡在关闭时没有释放内存。
有人找到了这个问题的解决方案吗?
im using http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
I find that the tab control's tab are not releasing memory upon closing.
Anyone found a solution for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CLR 并不总是立即释放内存。
因为您的问题是关于 MSDN 杂志中的示例,所以让我用同一杂志中的其他文章来回答您...
这些文章有点旧,我本可以指出较新的版本,我只是认为从同一个地方得到答案是相当诗意的。
对于较新的文章,请尝试以下内容:
(请注意,最后三个是从米奇·小麦的回答在这里。)
Memory doesn't always get released immediately by the CLR.
Because your question is about a sample from MSDN magazine, let me answer you with other articles from the same magazine...
These articles are a little older and i could have pointed out newer versions, i just thought it was rather poetic to get your answers from the same place.
For newer articles, try these:
(Note that these last three have been stolen shamelessly from Mitch Wheat's answer here.)