Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  About .NET memory leak--GC,Delegate and weak reference

Memory leak is always a headache for many programmers, the situation is much better now in some languages which have GC mechanism, but still we may face some memory leak issues when we write programs.1. What is memory leak?Memory leak is not that the memory chip is broken. In short, it's about that the memory requested is not released at the expected time as an expect way.So what is the expected time? This is very important for you to understand memory leak. If the time an object taking the memory is the same as the time the program runs, but you don't expect it to be like this, then memory le...

5,988 0       .NET GC REFERENCE COUNTING MARK AND SWEEP WEAK REFERENCE