Optimizing Memory in Python : Understanding Garbage Collection

How do you free unwanted memory in python ?

Often, our programs run out of memory when we are trying to build models. How can we free some of the unwanted memory to get our programs running again?

This video talks about ways to free unwanted memory in python. The video briefly explores garbage collection in python, followed by how we can ensure we delete unwanted objects to ensure they are cleaned up by python garbage collection.

 

Leave a Reply

Your email address will not be published. Required fields are marked *