Nepedia
Back to Discover
Fluent Reader
💻

Virtual memory

technology Maturity 7-9 Next article →

Virtual memory is a clever way that computers work. It creates an illusion for users. It makes the computer seem to have a very large amount of memory. This is helpful because programs often need more space than the real memory can hold.

Virtual memory
Virtual memory

This system uses a technique to map virtual addresses to physical ones. A virtual address is a fake location used by a program. The operating system manages these spaces. It uses both hardware and software to do this job.

How does this trick work step by step? The computer divides the virtual memory into small blocks called pages. Most pages are at least 4 kilobytes in size. The system uses page tables to keep track of these blocks. These tables translate the fake addresses into real physical addresses. The hardware that handles this is the memory management unit, or MMU. If a program asks for a page not in the real memory, a page fault happens. This tells the computer to find that data on the disk storage.

This idea has a long history. In the 1950s and 1960s, computer memory was very expensive. Programmers had to do a hard job called overlaying to manage space. 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. The Atlas was commissioned in 1962. It used 16,384 words of primary core memory. It also used 98,304 words of secondary drum memory to help.

Many people helped develop these ideas. Robert S. Barton suggested automatic memory allocation in 1958. He worked at Shell Research. Later, the Burroughs Corporation released the B5000 in 1964. This was the first commercial computer with virtual memory. IBM also played a big role in this history. They developed the concept of hypervisors for their systems. By 1969, experts showed that virtual memory worked better than manual systems. This ended the big debate over using it for commercial computers.

Virtual memory connects to many things you use today. Most modern operating systems use it to keep programs safe. It provides memory isolation so one program cannot easily mess with another. It also lets different programs share the same tools or libraries. This makes using a computer much more efficient. Even your smartphone and laptop use these same basic ideas. It allows many apps to run at once without running out of space.

398 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.