Nepedia
Back to Discover
Independent Reader
💻

Virtual memory

technology Maturity 7-9 Next article →

Your computer has a clever trick to act big.

Virtual memory
Virtual memory

It uses a way called virtual memory. This makes the computer's memory look much larger than it really is.

Computers have real memory, often called RAM. But programs often need more space than the RAM can hold. Virtual memory solves this. It uses a part of the computer to map virtual addresses to real ones. A virtual address is a fake location used by a program. The hardware that does this work is the memory management unit, or MMU.

This works through a set of steps called paging. The computer divides memory into small blocks called pages. Most pages are 4 kilobytes in size. The system uses page tables to keep track of these blocks. If a program needs a page not in the RAM, a page fault happens. This tells the computer to find that data on the disk.

This trick helps in many ways. It lets programs run in their own safe space. It also lets many programs use the same tools at once. The first computer to use true virtual memory was the Atlas Computer.

University of Manchester Atlas, January 1963
University of Manchester Atlas, January 1963

It was built at the University of Manchester in 1962.

198 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Virtual memory.svg
Virtual memory.svg
File:University of Manchester Atlas, January 1963.JPG
University of Manchester Atlas, January 1963.JPG
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.