Paging & Virtual Memory Simulator

Demonstrates paging (frames/pages), virtual memory (disk), planned swapping and disk thrashing. When both RAM and virtual memory are exhausted, the simulator halts and reports an Out of memory error.

Controls

6
RAM Used
0%
frames: 0/0
VM Used (Disk)
0%
pages: 0/0
Swap Rate
0%
swapping steps: 0
CPU Slow-down
0%
normal
Thrashing is detected using swap activity rate (many swap steps in a short time), even though page faults are not modelled here.

Physical memory (RAM) and Virtual memory (Disk)

RAM: 64 frames  |  VM: 128 disk slots
Steps: 0 • Switches: 0 • IN: 0 • OUT: 0

RAM frames

Virtual memory (disk pages)

page stored on disk empty slot
Process State Pages In RAM On Disk

Live OS narration

Press Auto Run. The simulator will show paging, swapping and thrashing (without page faults).
Slow-down / thrashing indicator