Talk Python To Me

#425: Memray: The endgame Python memory profiler

08.04.2023 - By Michael Kennedy (@mkennedy)Play

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

Understanding how your Python application is using memory can be tough. First, Python has it's own layer of reused memory (arenas, pools, and blocks) to help it be more efficient. And many important Python packages are built in natively compiled languages like C and Rust often times making that section of your memory opaque. But with Memray, you can way deeper insight into your memory usage. We have Pablo Galindo Salgado and Matt Wozniski back on the show to dive into Memray, the sister project to their pystack one we recently covered.

More episodes from Talk Python To Me