From the course: Help Yourself: Tech Tips Weekly

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Understanding memory leaks

Understanding memory leaks

- [Instructor] Put away the drip pan. A memory leak doesn't make a mess, at least not a physical one. No, a computer memory leak is a runaway program. It occupies a chunk of memory or continues to gobble up more memory without letting go. Often the program continues to grab memory as the computer slowly grinds to a halt. One way to find a memory leak is to use the Resource Monitor utility. Press the Windows + r keyboard shortcut and type resmon for Resource Monitor. Okay, to look for a memory leak, ensure that the memory item is expanded. You can close the other items if they're open. The memory window is shown down here. It graphically charts memory usage over time. And what you're looking for is a program that keeps gobbling up memory as it runs. Now I've created such a program, and it's called leaker. Let me locate it in the list. And here it is. And as you can see by this commit column, the leaker program…

Contents