Define Virtual Memory and give an overview of its functionality
Virtual Memory
Pretend to have more RAM than actual
Uses hard disk as extra memory
Runs bigger or multiple programs concurrently
Moves data between RAM and disk as needed
Paging → Splits memory into pages, swaps as needed
Page Table → Maps virtual addresses to physical ones
Swap Space → Disk area used when RAM is full
State what problem Virtual Memory is designed to alleviate.
Not enough RAM, use disk space to run bigger/more apps.
Prevents programs from crashing.
On a Microsoft Windows based system, state how the default Virtual Memory value is calculated.
calculated as 1.5 to 3 times the size of the physical RAM.
Swap space
Swap Space: When RAM is full, the system uses disk space (swap space) to temporarily hold data, freeing up RAM for other tasks.