DiscoverProgramming Throwdown181: Memory Management
181: Memory Management

181: Memory Management

Update: 2025-05-12
Share

Description

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 ★
Comments 
In Channel
182: AI Assisted Coding

182: AI Assisted Coding

2025-06-3001:37:36

181: Memory Management

181: Memory Management

2025-05-1201:46:21

180: Reinforcement Learning

180: Reinforcement Learning

2025-03-1701:52:22

179: Project Planning

179: Project Planning

2025-02-0301:43:00

178: Working from Home

178: Working from Home

2024-12-0301:45:15

177: Vector Databases

177: Vector Databases

2024-11-0401:28:26

176: MLOps at SwampUp

176: MLOps at SwampUp

2024-09-2401:58:37

175: Resume Writing

175: Resume Writing

2024-08-1601:40:55

174: Devops

174: Devops

2024-06-1001:25:47

173: Mocking and Unit Tests

173: Mocking and Unit Tests

2024-04-2901:35:22

169: HyperLogLog

169: HyperLogLog

2023-11-2701:29:33

168: Godot

168: Godot

2023-11-2001:28:34

165: Differential Equations

165: Differential Equations

2023-09-2501:16:43

loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

181: Memory Management

181: Memory Management

Patrick Wheeler and Jason Gauci