Virtual Memory, Paging, Page Tables, and Memory Management
The Memory planet explores how processes use virtual memory, how the OS maps virtual pages to physical frames, and how the page table works.
You'll understand:
Virtual Memory: Each process sees its own address space
Page: Fixed-size block of virtual memory (e.g., 4KB)
Frame: Fixed-size block of physical RAM
Page Table: Maps virtual pages → physical frames
Page Fault: CPU tries to access unmapped page → trap to kernel
Demand Paging: Load pages only when accessed
Think of virtual memory like apartment buildings:
Memory Access (hit):
Page Fault Flow:
We're building an interactive memory visualization that will let you: