IBM Interview Question: Define virtual memory?... | Glassdoor.co.in

Interview Question

Back Office Executive Interview(Student Candidate) Gurgaon, Haryana

Define virtual memory?

Tags:
computer software
Answer

Interview Answer

1 Answer

0

Virtual memory is a feature of an operating system that enables a process to use a memory (RAM) address space that is independent of other processes running in the same system, and use a space that is larger than the actual amount of RAM present, temporarily relegating some contents from RAM to a disk, with little or no overhead.

In a system using virtual memory, the physical memory is divided into equally-sized pages. The memory addressed by a process is also divided into logical pages of the same size. When a process references a memory address, the memory manager fetches from disk the page that includes the referenced address, and places it in a vacant physical page in the RAM. Subsequent references within that logical page are routed to the physical page. When the process references an address from another logical page, it too is fetched into a vacant physical page and becomes the target of subsequent similar references.

Interview Candidate on 15-Jun-2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.