Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

Memory Leak

Tags: c#, computer-science

Short Definition: A memory leak occurs when an object is taking up RAM even though the application will never again use the object.

  • Memory leaks can be either recoverable or unrecoverable.
  • Recoverable leaks occur when we have an object reference and can thereby dispose of the object; unrecoverable ones occur when we don't.