Virtual memory is a special memory management in a computer which is to be managed virtually working on address space associated with operating system. Virtual memory is present in almost all modern operating systems.
Operation of virtual Memory
The original motivation for the abstraction of memory addresses to virtual addresses was to standardize the use and the possibility of combining different memory sources. Virtual Memory management also enables the implementation of memory protection mechanisms for the separation of programs with each other. The computer system provides each process with addresses from 0 to n-1 in a contiguous local memory space. In reality, this memory area of ??each page is of a defined size (Pages) within the virtual address space of the machine. These virtual pages are in turn mapped to physical pages that are somewhere in physical memory or even in a swap file. When accessing a local memory of a process to address the operating system it replaced by Virtual Memory Management Unit. (Read : Virtualization with Hyper-V and Memory Paging File).
Paged virtual memory
The concept of paging in Virtual Memory is used with narrower sense, only the process of mapping the virtual addresses to physical ones are taken. In the other (incorrect) meaning it is used synonymously for swapping. Swapping is the outsourcing of real RAM memory area to another, secondary storage, typically in a swap file on a disk by the operating system. The idea that in typical computers the hard drive is considerably greater than the available electronic memory (RAM). This memory can also be used to service memory requests of programs. Memory requests from programs that go beyond the available RAM, then served on memory from the swap space up to the maximum size of virtual memory per process. The disadvantage is that the paged memory to disk is much slower than RAM. However, still this makes the operation of the program. To alleviate this problem, operating systems with a process tries to monitor the RAM and swap space optimally distributed among the various processes.
Tagged With virtual memory in memory management , memory management and virtual memory , memory manager virtual manager , virtual memory management machannisms , virtual memory manager , what is windows nt virtual memory management