Category: 

What Is a Pagefile?

Pagefile refers to a portion of a hard drive used to augment Random Access Memory.
Article Details
  • Written By: R. Kayne
  • Edited By: O. Wallace
  • Last Modified Date: 20 October 2014
  • Copyright Protected:
    2003-2014
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
A fortune cookie company was investigated for providing the winning lottery numbers on a fortune cookie message.  more...

November 28 ,  1943 :  The key leaders of the Allied forces during World War II met for the first time in Tehran, Iran.  more...

On some Microsoft™ Windows™ operating systems, a pagefile is the name given to a portion of the hard disk reserved to augment Random Access Memory (RAM). It acts as virtual RAM, or virtual memory, to improve access time for frequently used programs and data. All else being equal, the less RAM a system has, the larger the reserved portion is likely to be. If enough RAM is present, there may be no pagefile.

RAM is a quick-storage area designed to improve access time to frequently used programs, processes, and files. Retrieving data from RAM is faster than retrieving it from standard platter-style hard disks. As a computer system boots, it stores many routines into RAM so that the system can perform better. As the user opens programs, even more RAM is consumed. Firewalls, antivirus programs and other software that runs in the background also consumes RAM.

When RAM becomes full, the system turns to the hard drive for help. Using contiguous, empty space, the system designates a pagefile of a certain size. The portion must consist of contiguous space, and not just any empty space. The system can access information in contiguous space faster than if it’s spread out over drive platters.

Ad

The least accessed data located in RAM is automatically moved to the pagefile. As the user switches to other programs or files, this seamless process continues, using the area as a holding cell. Going back to a previous program will cause the system to swap contents in the pagefile for contents in RAM. In earlier Windows versions, it was known as a swapfile.

If the user has so many processes and programs running that they cannot all be run from RAM, the overflow is run from the pagefile itself. While faster than running it from random locations on the drive, this is noticeably slower than RAM access. Ideally, a system has so much RAM that a pagefile isn’t required, though some programs designed to work with one will create it.

When a computer shuts down, all data in RAM is lost. This is not true of the hard disk of course, which maintains information. Pagefile contents, while deleted at shutdown, can be retrieved later using software recovery tools. For this reason, some people configure their computers to wipe the area clean when they turn off the computer. Wiping does slow the shutdown process considerably, but is a good security measure for anyone concerned. In either case, a new pagefile is created as needed at the next boot.

Ad

More from Wisegeek

You might also Like

Discuss this Article

anon321945
Post 5

What is another term for Page file?

anon28517
Post 3

The pagefile is used by Windows and cannot be accessed to do a disk copy as long as you are booted into Windows. The only way to copy the C drive (or any drive that contains the operating system) is by doing it outside of Windows. Some programs made for Windows will reboot the computer for you, then hook into the backup routine before Windows starts. One such program is Acronis True Image, but it's not free. Another alternative it to boot from a floppy or CD into DOS and execute a copy command from there. You might also check out XML Backup, a free cloning and imagine program that works outside Windows.

mikes1
Post 2

Hi and Help. I'm trying to copy my C drive and a separate drive. The message "pagefile.sys is being used by another program shut it down first" comes up. All other programs are closed. Any ideas anyone please.

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email