Python Memory Management and Tips Transcripts
Chapter: Welcome to the course
Lecture: Why care about memory?

Login or purchase this course to watch this video and the rest of the course contents.
0:00 So why should you care about memory management in Python,
0:02 anyway? Isn't it just gonna work the way it's gonna work,
0:04 and we just have to live with it?
0:06 Well, you'll see there's actually a ton that we can do to work with it or
0:10 even change how it works. Here's a simple little program.
0:13 It's running Python running one of our applications,
0:15 and it was fine, but then a little bit later,
0:18 it wasn't fine. Now it's using 719 megabytes.
0:22 That seems bad. Maybe we should do something different.
0:25 We're gonna learn a whole bunch of amazing techniques that would allow us to keep this
0:30 memory usage much lower and we're going to dig in
0:32 So you understand exactly the trade-offs you might be making and where these costs come
0:37 from, how Python is doing its best to get the most out of the memory
0:41 that we're using and so on.
0:43 Not only will you come away with an understanding,
0:45 but we're going to dig in and get some design patterns and some tools and techniques
0:50 that you can proactively use to make your program look more like the one on the
0:54 left, and less like the one on the right.