开发者

Tabcontrol memory leak

开发者 https://www.devze.com 2023-03-19 20:44 出处:网络
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.

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?


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...

  • Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework (by Jeffrey Richter)
  • Garbage Collectionn Part 2: Automatic Memory Management in the Microsoft .NET Framework
  • CLR Inside Out - Investigating Memory Issues

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:

  • Automatic Memory Management
  • Garbage Collection
  • Understanding Garbage Collection in .NET

(Note that these last three have been stolen shamelessly from Mitch Wheat's answer here.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号