answersLogoWhite

0

Why are page files used?

Updated: 8/16/2019
User Avatar

Wiki User

6y ago

Best Answer

On a 32-bit system it is only possible to address a maximum of 2^32 bytes of memory (4,294,967,296 bytes which is 4 gigabytes). Memory is allocated in contiguous blocks such that if your program requires x bytes of memory, a block of x contiguous bytes must be available to meet the allocation request. If there is no single block large enough to meet the required allocation, you will get an out of memory error, even if there's more than x bytes of physical memory available in total.

To avoid these problems, we use virtual memory. If there is no single block available to meet an allocation, existing allocations can be temporarily moved to a page file, thus freeing up the physical memory. When memory that has been paged out is required, other allocations can be paged out to allow the required memory to be paged in. Given that the contents of memory are swapped to and from the page file, the page file is often called a swap file.

Data that was paged out of one physical address may be paged in to a completely different physical address. However, the virtual address does not change; the memory manager performs the translation between the physical and virtual addresses. This makes it possible for a 32-bit system to operate with a full complement of 4 gigabytes of memory even when the system has less than 4 gigabytes of physical memory installed.

64-bit systems allow us to address 18,446,744,073,709,551,616 bytes of memory which is far more memory than physically exists on the planet! For practical reasons, we can only use a small fraction of the full address space, however page files and virtual memory make it possible to use far more addresses than might be physically available.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why are page files used?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the main functions of Browser cookies?

Browser cookies are small files that are stored as data files. They can be used again when the page is reloaded.


Why are GIF files often used when building webpages?

GIF files have a small file size so they can load quicker and you are not sitting and waiting for minutes for the page to load.


What are TMP files?

TMP or temp files are temporary Windows files used to store temporary data or be used as a backup for files that are being used.


How can one upload files using CFFILE?

The web server itself is what actually uploads the files but the code command CFFILE is what triggers it. The code is used on a webpage to create a link for a user to upload something to the page owner.


What is a page flow?

A page flow is a directory of web application files which work together to implement a user interface feature.


Which national retailers sell the complete X Files series on DVD?

You can purchase the complete X-Files series on DVD online from retailers such as Amazon. Once on the page, type "X-Files Complete" into the search field at the top of the page and press enter to bring up the item.


What is a balanced website?

A website that contains a home page, additional documents, and files .


How do you view the file names of the video driver files?

you put page and save as


How do you disable snapshots and page files in your partition?

i wish i new i wish i new


How do you attach an In-page Urdu word processor file to mail?

In-page is an Urdu word processor software and saves files as .inp


Are files are used to organizes files?

samiens toenails


How do you place Fla files into aspx page coding?

You can't really place FLA files into aspx coding. FLA files are the source of flash videos. You can, however, place an FLA file on a server and use aspx to display a link to it on a web page. You can also display a flash video (swf file) on a web page by outputting the proper HTML via aspx.