Virtual memory allows processes to access memory addresses that exceed the amount of physical memory available. When a process references a memory page that is not in RAM, a page fault occurs which brings the missing page into memory from disk. Page replacement algorithms are used to determine which page to remove from RAM to make room for the new page. Factors like page fault rate, locality of reference, and thrashing are important considerations for virtual memory performance.
Related topics: