Why is virtual memory be used in the Windows architecture? - Windows Programming
Why is virtual memory be used in the Windows architecture?
- Virtual memory is used to increase the size of the memory more than you have the memory in your physical system.
- It is used in Windows architecture for the following reasons:
- The process that uses virtual memory can’t access other process’s memory, this way it keeps the processes secure from one another.
- The pages that are kept in the virtual memory are having their own setting that allows the protection to be given to the applications.
- The memory that is inactive for a longer period of time will be stored in some regions that can be paged out or stored to the page-file.
- The stored pages can be retrieved on demand i.e. whenever the system will need it, it can access it.