Let's demystify memory
summary
Explains how Linux maps per-process virtual address spaces onto physical RAM via the MMU translates virtual to physical and page tables, how page cache prevents repeated disk reads, and how swap moves little-used pages to disk. Shows observable numbers (about 319 MB cache and ~180 MB free in a demo), demonstrates cgroup limits by setting cgroup memory.max = 10MB and then spawning processes until the OOM killer and a fork‑bomb behavior appear, so viewers see cause, tool, and effect.
AI-written summary · about
chapters (14)
- 0:00Introduction to memory
- 1:50What is RAM
- 3:17Pointers and segmentation
- 5:46Virtual memory basics
- 8:19Memory management unit
- 10:11Memory allocation in processes
- 12:23Memory pages and segments
- 13:25Swap space explained
- 15:34Page cache and performance
- 16:57Out of memory killer
- 17:59Fork bomb demonstration
- 19:25Live system memory issues
- 21:34Process isolation and limits
- 23:22Cgroups and memory limits
related talks
39mMM101: Introduction to Linux Memory Management
51mIntroduction to Memory Management in Linux
01h 36mLinux Memory Management and Containers
01h 36mTutorial: Linux Memory Management and Containers
41mLies Programmers Believe about Memory
41mAre you out of memory, or have plenty to spare?
48mPersistent Memory Usage within Linux Environment
40mInspecting and Optimizing Memory Usage in Linux
