Python Bytes cover image

#311 Catching Memory Leaks with ... pytest?

Python Bytes

00:00

Memory Profiler

memory as the name would suggest is more about memory profiling and like talking about how many of these different things have you allocated. You can actually set limits on how much memory can be allocated for a certain operation to see if it's being used properly or not. The pite test plugin lets you decorate your tests so that they will tell you when there are memory leaks in code under testing. It also gives you an emoji filled summary with total memory allocated, number of allocations  and histogram of allocation sizes.

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