its depends on number of processes in memory.
Paging in an operating system is part of the operation of virtual memory. Physical pages of memory are being swapped back and forth for virtual pages of memory in a file on the hard disk. This swapping allows all programs to see the same memory structure (e.g. program loads at the same fixed virtual address in memory) and allows the machine to run as if it had more memory than it really does (but at a small speed penalty). Programs and utilities that are idle may stay loaded and ready to run, but paged out of physical memory until actually needed.
Virtual memory is used to increase the size of working memory in the system main memory by using the locations in secondary storage such as harddisk.
What is virtual memory and how the system controls the situation in the absence of it?
paging is the process of memory management in which memory is allocated in the non contiguous form,i.e. the program is break into block of fixed size known as page and also the main memory also break down into block of same size known as frame or page frame. Now all this page are brought into the main memory but in the space available so they can be contiguous if they find whole space required by the program or if the space is available but in scattered form then they can give space in non contiguous form. But in demand paging only those pages are brought into main memory which are required to execute the program at that time when a program need other pages it will swap out the unused pages from the main memory and swap in the desired page thus allowing it to execute the program though the space available is not sufficient to bring the whole program into main memory..................One of the problem arises due to demand paging is page fault which is caused due to required page not found in main memory for which we require swapping. hey if you like my post don't forget to thank me....... for any further queries e-mail me at hemant_spidey3@yahoo.co.in or 1989hemantrajput@gmail.com
Paging is a memory management scheme that permits the physical- address space of process to be noncontiguous.
In case of simple paging all pages should be in main memory to run a process..while in case of virtual memory paging pages can be loaded as needed by the processor i.e. called demand paging...
FALSE
Nope, swapping and paging are essentially synonymous. Excessive paging is known as thrashing.
C:\pagefile.dat
C:\pagefile.dat
C:/pagefile.sys
Segmented page allocation is a type of memory management that uses base and bound registers to determine memory faults, similar to dynamic page allocation. More importantly it is different to dynamic page allocation since the entire process doesn't have to be in memory, similar to using virtual memory paging where the program is broken into pieces. Unlike virtual memory paging, the maximum virtual memory size is limited to the size of physical memory.
you're using virtual memory/a paging file
Virtual Memory-: Virtual Mem is also known as Swap memory. Swap memory:- Swap mem is the type of memory which allocates by the harddisk in the form of extra RAM for better functioning of the application in the case if you are facing a lack of RAM in order to run that software
It can as much as you want, you should just have enough space on your hard drive in order to save the paging file (virtual memory file).
False. It is called Thrashing.
Swapping files from virtual memory back to RAM is known as multitasking. When a computer with an insufficient amount of RAM uses its virtual memory too often, it can cause the computer to enter Safe Mode.