What is Virtual Memory? How is it implemented?
Virtual Memory is a type of memory management system that aims to harness more memory than is physically available. It is implemented by using hardware and software in lieu of physical memory. The data is temporarily transferred from random access memory (RAM) to disk storage.
Virtual memory serves two functions:
- it allows for the extended the use of physical memory by using disk
- it allows for memory protection as each virtual address is translated to a physical address.