| Benefits (Why Use It?) | Drawbacks (Problems) |
|---|---|
| Run more programs: Enables running more programs than physical RAM allows | Much slower: Hard drive is 100-1000x slower than RAM - noticeable lag when swapping |
| Prevents crashes: System won't crash when RAM fills up - uses disk instead | Disk thrashing: Excessive swapping causes system to become almost unusable |
| Larger programs possible: Can run programs larger than available RAM | Wear on SSD: Constant writing to SSD reduces lifespan (especially concern for older SSDs) |
| Better multitasking: More programs can stay "open" simultaneously | Not true RAM: Can't replace physical RAM - always slower alternative |
| Transparent to user: Operating system handles automatically | Hard to diagnose: Users may not realize lack of RAM is causing slowdown |
| Memory isolation: Each program gets its own virtual address space (security benefit) | Takes disk space: Page file can be several GB, reducing available storage |
This comparison covers Benefits vs. Drawbacks of Virtual Memory within Virtual Memory for GCSE Computer Science. Revise Virtual Memory in 3.4 Computer Systems for GCSE Computer Science with 15 exam-style questions and 16 flashcards. This topic appears less often, but it can still be a useful differentiator on mixed-topic papers. It is section 4 of 10 in this topic. Use this comparison to connect the idea to the wider topic before moving on to questions and flashcards.
Practice questions for Virtual Memory
What is virtual memory?
Explain how virtual memory works when a user opens more programs than RAM can hold.