How Virtual Memory Works

Test yourself on Virtual Memory with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Virtual MemoryGet your flashcardsBuild my revision planTrack my progress

How Virtual Memory Works

The Process:

  1. Memory fills up: You open too many programs - Chrome with 20 tabs, Word, Excel, Spotify, Photoshop. Physical RAM (8GB) is now full.
  2. OS intervenes: Operating system identifies less-used data in RAM (e.g., a background program you haven't touched in 10 minutes).
  3. Swapping out: OS copies this data from RAM to the page file on the hard drive, freeing up RAM space.
  4. New program loads: The freed RAM is now available for the new program you want to run.
  5. Swapping in: When you switch back to that background program, OS swaps it back from hard drive to RAM and may swap out something else.

Key Terms:

  • Page file / Swap space: Reserved area on hard drive used as virtual memory extension
  • Swapping: The process of moving data between RAM and hard drive
  • Severe slowdown: If the system spends more time swapping than running programs, it becomes very slow

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.