Nothing Special   »   [go: up one dir, main page]

Virtual Memory

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 4

Virtual Memory

Done BY :
Akash S.R
 Virtual Memory is a storage scheme that provides user an illusion of
having a very big main memory. This is done by treating a part of
secondary memory as the main memory.
 In this scheme, User can load the bigger size processes than the
available main memory by having the illusion that the memory is
available to load the process.
 Instead of loading one big process in the main memory, the Operating
System loads the different parts of more than one process in the main
memory.
 By doing this, the degree of multiprogramming will be increased and therefore,
the CPU utilization will also be increased.
How Virtual Memory Works
 In modern word, virtual memory has become quite common these
days. In this scheme, whenever some pages needs to be loaded in
the main memory for the execution and the memory is not
available for those many pages, then in that case, instead of
stopping the pages from entering in the main memory, the OS
search for the RAM area that are least used in the recent times or
that are not referenced and copy that into the secondary memory
to make the space for the new pages in the main memory.
 Since all this procedure happens automatically, therefore it makes
the computer feel like it is having the unlimited RAM.
 Advantages of Virtual Memory

1. The degree of Multiprogramming will be increased.


2. User can run large application with less real RAM.
3. There is no need to buy more memory RAMs.

Disadvantages of Virtual Memory


1. The system becomes slower since swapping takes time.
2. It takes more time in switching between applications.
3. The user will have the lesser hard disk space for its use.

You might also like