.NET Memory Management

When you write managed code you propably¬†think “Hey, .NET manages the memory, so I don’t care about it”. But you are not right. When you write code, no matter what the programming language is, you should always think about memory, especially when it comes to performance optimization. Although .NET provides a managed environment, memory leaks can still¬†occur if you are not cautious.

Here is a great video explaining .NET memory management in details.

  1. Why memory matters
  2. .NET Memory and Garbage Collection
  3. Generational Garbage Collection
  4. Temporary Objects
  5. Large Object Heap and Fragmentation
  6. Finalization
  7. Memory Problems
  8. Summary
If you like this post, share it with your fellows