Memory leaks can cause a lot of problems, but are usually easy to fix (once we find them!) Let's go through memory leaks in this video and show some real-world examples, as well as build our own programs with some basic memory leaks (including a really simple, 5-minute game in Unity).
00:00 What are memory leaks?
01:13 How the heap is supposed to work
02:00 What is swap space?
04:36 NASA's Spirit Mars Rover Memory Leak
08:05 Writing a memory leak in C
11:05 Memory Leak in C++
11:45 Garbage Collection in Action!
13:05 Memory Leak in Unity (Even with Garbage Collection!)