Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Virtual Memory

( \newcommand{\kernel}{\mathrm{null}\,}\)

Chapter 6. Virtual Memory

What Virtual Memory isn't

Virtual memory is often naively discussed as a way to extended your RAM by using the hard drive as extra, slower, system memory. That is, once your system runs out of memory, it flows over onto the hard drive which is used as "virtual" memory.

In modern operating systems, this is commonly referred to as swap space, because unused parts of memory as swapped out to disk to free up main memory (remember, programs can only execute from main memory).

Indeed, the ability to swap out memory to disk is an important capability, but as you will see it is not the purpose of virtual memory, but rather a very useful side effect!


Virtual Memory is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by LibreTexts.

  • Was this article helpful?

Support Center

How can we help?