Virtual memory: It doesn't exist . It is just an illusion. If our program size is more than main memory . It divides the program in the main memory size. Then turn by turn execute the program.
- Virtual memory gives an illusion to the program that programs of larger size than actual physical memory can be executed.
- It is the feature or concept of OS . It happens when program size is more than the size of main memory.
- It is the feature of OS where large programs can store themselves in form of pages while their execution only the required pages or portion of processes are loaded into the main memory .
- Virtual memory can be implemented by demand paging and demand segmentation.(paging-equal size of pages. segmentation- size of pages are not equal)
- Virtual memory doesn't really exists , but the part of secondary memory are made as virtual memory.
Tags:
operating system