We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode 181: Memory Management

181: Memory Management

2025/5/12
logo of podcast Programming Throwdown

Programming Throwdown

Shownotes Transcript

Intro topic: Video Game Prices

News/Links:

Book of the Show

Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h)

Tool of the Show

Topic: Memory Management

  • Motivation

  • Avoid thrashing / crashes

  • Allocate resources efficiently

  • Keep high uptime

  • Where

  • OS Level

  • Heap management

  • Virtual Memory

  • Language/Compiler Level

  • Cpp

  • Garbage collection

  • Ownership

  • Tools

  • Instrumentation

  • Export to Datadog / Grafana

  • Python: psutil & tracemalloc

  • Valgrind

  • What to do when your program uses too much memory?

  • Reduce data sizes

  • Compression

  • References

  • Lazy initializer

  • Generators & Back Pressure

  • Ring buffers

  • Arena allocators

  • Disk based caching

** ★ Support this podcast on Patreon ★) **