Amazon Interview Question
InternsCountry: India
Interview Type: In-Person
Virtual memory concept virtualizes the main storage available to a process or task, as a contiguous address space which is unique to each running process, or virtualizes the main storage available to all processes or tasks on the system as a contiguous global address space. Whereas main memory is amount of physical memory (usually RAM) allocated to the system.
For more info:
en . wikipedia . org /wiki/Virtual_memory
Crap. Incorrect answer
- Hari August 03, 2013Virtual Memory is a mechanism to make every program feel that it has access to a larger addressable memory space than what actually exists on the system. On a 32-bit machine, that's 4G (2pow32). V2P mapping is done through page tables, that map Virtual memory pages (4K, usually) into actual backing physical pages.