The Real Python Podcast cover image

Exploring the functools Module and Complex Numbers in Python

The Real Python Podcast

00:00

How to Fix a Memory Legue in Python

In python, it uses what's called reference ing. And as long as there's a reference to something, it's going to keep it alive. If not, then it gets garbage collected and freezes up the memory. In this case, he was working with this four gigabite file, and then it just started running kind of a nice plateau for quite a while,. Then it just started the peak. He actually used another graphical tool to figure out what’s happening in there. The more red it gets, the more memoryis being used.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app