meta_pixel
Tapesearch Logo
Log in
Talk Python To Me

#425: Memray: The endgame Python memory profiler

Talk Python To Me

Michael Kennedy

Technology

4.8635 Ratings

🗓️ 4 August 2023

⏱️ 70 minutes

🧾️ Download transcript

Summary

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.

Transcript

Click on a timestamp to play from that location

0:00.0

Understanding how your Python application is using memory can be tough.

0:03.3

First, Python has its own layer of reused memory,

0:07.0

arenas, pools, and blocks to help it be more efficient.

0:10.3

And many important Python packages are built in native compiled languages like C and Rust,

0:15.6

oftentimes making that section of your memory usage opaque.

0:19.3

But with memory, you can get way deeper insight into

0:22.4

your memory usage. We have Pablo Galindo Salgado and Matt Wazinski back on the show to dive into

0:28.6

memory, the sister project to their Pistak one we recently covered. This is Talk Python to Me.

0:33.8

Episode 425 recorded June 20th, 20th, 2003.

0:50.9

Welcome to Talk Python, a weekly podcast on Python.

0:54.7

This is your host, Michael Kennedy.

0:56.6

Follow me on Macedon, where I'm at M. Kennedy, and follow the podcast using at TalkPython,

1:01.6

both on bostadon.org.

1:03.9

Be careful with impersonating accounts on other instances.

1:06.6

There are many.

1:07.7

Keep up with the show and listen to over seven years of past episodes at TalkPython.fm.

1:12.9

We've started streaming most of our episodes live on YouTube. Subscribe to our YouTube

1:17.5

channel over at TalkPython.fm slash YouTube to get notified about upcoming shows and be part of that episode.

1:24.6

This episode is brought to you by JetBrains who encourage you to get work done with

1:29.8

PiCharm. Download your free trial of PiCharm professional at Talkbython.fm.fm slash done dash with

1:36.3

pie charm. And it's brought to you by InfluxDB. InfluxDB is the database purpose built for

1:42.3

handling time series data at a massive scale for real-time analytics.

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Michael Kennedy, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Michael Kennedy and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.