ALL

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