Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Measuring Memory - Python Memory Profilers and When to Use Them

EuroPython Conference via YouTube

Overview

Discover effective techniques for measuring and optimizing Python memory usage in this 30-minute EuroPython Conference talk. Learn about different memory profiling tools and when to apply them based on your specific use case. Explore how memory problems manifest in Python, understand memory usage patterns across various application types, and gain insights into identifying and addressing memory leaks in both Python code and C extensions. Delve into strategies for managing peak memory usage in data processing applications, including data science and scientific computing scenarios. Acquire practical knowledge to improve your Python programs' performance and stability by effectively managing memory resources.

Syllabus

Introduction
Should you write the software
Outline
RAM vs Disk
Failed allocation
Ram
Data loading
Reduce peak memory
Flame graph
Memory leaks
Memory usage
Stack trace
Memory leak explained
Cache
Field
Reproducer
Malek
Python leak example
Recap
PythonSpeedcom Memory
Questions

Taught by

EuroPython Conference

Reviews

Start your review of Measuring Memory - Python Memory Profilers and When to Use Them

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.