What is a pagefile? – TechTarget Definition (2024)

What is a pagefile? – TechTarget Definition (1)

By

  • Robert Sheldon

What is a pagefile?

In storage, a pagefile is a reserved portion of a storage drive that is used as an extension of random access memory for data in RAM that hasn't been used recently. A pagefile can be read from the storage drive as one contiguous chunk of data and thus faster than re-reading data from various original locations.

Windows uses pagefiles to make more RAM available to applications that are used actively, rather than sitting idle. For example, a user might open a browser, conduct several searches, and then minimize the browser for an extended period. In the meantime, the user works steadily in a video editing program that requires a significant amount of RAM. Windows might move the browser files from RAM to the pagefile to provide more physical memory resources to the video editing program.

The pagefile (sometimes referred to as page file or paging file) is a Windows system file whose full name is pagefile.sys. By default, it is located in the root directory of the system drive, typically the C: drive. Figure 1 shows the file on the C: drive as it appears in Windows Explorer. Because the pagefile is a system file, it is hidden by default. For the file to be visible, Explorer must be configured to display protected operating system files.

What is a pagefile? – TechTarget Definition (2)

The pagefile is part of Windows' virtual memory system, which abstracts the physical memory through the use of virtual addresses. The system also maintains a page table that maps the virtual addresses to the physical addresses. Windows provides each process with a set of virtual addresses that enables it to use a block of physical memory independently of other processes.

A system's virtual memory can include both RAM and disk space, which is the area of physical storage reserved through the pagefile. The disk space can be on a solid-state drive (SSD) or hard disk drive (HHD). Running processes are aware only of the virtual addresses and have no knowledge of the physical addresses. Windows handles the translations between the virtual and physical addresses through seamless operations running in the background.

Virtual memory makes it possible to provide more memory than is available in RAM. This is accomplished through sophisticated memory management techniques and the use of one or more pagefiles. Potentially, each of a computer's available drives can contain a pagefile; however, it is common for a system to use only one pagefile.

For example, the screenshot in Figure 2 shows the Memory portion of the Task Manager Performance tab. In this case, the system has 8 gigabytes (GB) of memory; however, the Committed section (outlined in red) indicates that there is 9.2 GB of total available memory. This number is the sum of the system's RAM and pagefiles. Because this system in this example has only one drive, this total amount reflects that drive only.

What is a pagefile? – TechTarget Definition (3)

The Committed section represents the system's virtual memory. The first amount, 3.8 GB, is the total amount of virtual memory currently used. The second amount, 9.2 GB, is the total amount of virtual memory available on this system. The extra 1.2 GB (over the 8 GB of physical memory) is the approximate amount of space available through the pagefile. Although the system includes only 8 GB of physical memory, it behaves as though it has 9.2 GB.

Memory totals can also be viewed through the Windows System Information app, which provides details about the system's physical and virtual memory, the pagefile and its location, and other system components, as shown in Figure 3. The information in this figure is based on the same system as in Figure 2. There are 8 GB of installed RAM but 9.24 GB of total virtual memory. In addition, the pagefile takes up about 1.25 GB of storage space.

What is a pagefile? – TechTarget Definition (4)

Most non-Windows operating systems also implement some form of virtual memory and provide the ability to extend the physical memory to local disk storage in the same way that Windows uses the pagefile. On these systems, the extended memory might be called a swap file, swap space or swap partition.

Managing pagefile settings in Windows

Windows automatically manages the system's virtual memory components and processes. This includes maintaining the pagefile and determining its size. However, Windows users and administrators can customize the pagefile settings. Although Windows normally handles the pagefile with no problem, sometimes changing the pagefile settings could be useful, such as when running a critical business application that requires a substantial amount of memory.

Users can override the default pagefile settings through the advanced system settings, unless administrative policy prevents them. The settings can be accessed through the Advanced tab of the Performance Options dialog box, as shown in Figure 4.

What is a pagefile? – TechTarget Definition (5)

The Virtual memory section shows the current pagefile size for all drives. In this case, there is only one drive, and the size is about 1,280 MB. This is the same system on which the previous figures are based, so the size shown here is consistent with the approximate amounts in those figures.

To update the pagefile settings, the user clicks Change, which launches the Virtual Memory dialog box. Here the user can set an initial file size and a maximum file size, as shown in Figure 5.

What is a pagefile? – TechTarget Definition (6)

The Virtual Memory dialog box also provides the No paging file option. If this option is selected, Windows will stop using a pagefile for managing the RAM overflow. Users should be cautious about enabling this option, and many experts recommend against it.

The lack of a pagefile can disrupt a system's operations in unexpected ways, such as causing applications to crash or making the system unstable. Some software will not operate properly without it. For example, several Windows servers require a pagefile, including certificate servers, distributed file system (DFS) replication servers and Windows Server domain controllers.

Learn how memory management techniques improve system performance.

This was last updated in April 2023

Continue Reading About pagefile

  • Comparing RAM usage across common web browsers
  • Memory management strategies improve VM performance
  • An overview of hardware support for virtualization
  • Consolidate servers to create efficiency and improve performance
  • How to monitor Windows files and which tools to use

Related Terms

Apple
Apple Inc. (formerly Apple Computer Inc.) is an American computer and consumer electronics company famous for creating the iPhone...Seecompletedefinition
What is asynchronous?
In general, asynchronous -- from Greek asyn- ('not with/together') and chronos ('time') -- describes objects or events not ...Seecompletedefinition
What is machine code (machine language)?
Machine code, also known as ‘machine language’ or ‘native code,’ is the elemental language of computers. It is read by the ...Seecompletedefinition
What is a pagefile? – TechTarget Definition (2024)

FAQs

What is a pagefile? – TechTarget Definition? ›

In storage, a pagefile is a reserved portion of a storage drive that is used as an extension of random access memory for data in RAM that hasn't been used recently.

What is the meaning of pagefile? ›

Pagefile. sys is the Windows paging (or swap) file used to manage virtual memory. It's used when a system is low on physical memory (RAM).

What does file page mean? ›

A page file (also known as a "paging file") is an optional, hidden system file on a hard disk.

Should I turn off pagefile? ›

The page file serves as a crucial buffer for when your physical RAM fills up. Without it, Windows will crash rather than chug along when stretched thin in terms of memory, putting your data at risk. That's why you should not delete it. That said, certain scenarios may require you to delete pagefile.

What is a memory page and why is it used? ›

A page, memory page, or virtual page is a fixed-length contiguous block of virtual memory, described by a single entry in a page table. It is the smallest unit of data for memory management in an operating system that uses virtual memory.

How to check if pagefile is being used? ›

Inspecting Page File Usage in Performance Monitor
  1. In the Windows start menu, open Administrative Tools.
  2. Open Performance Monitor.
  3. Expand Monitoring Tools.
  4. Click Performance Monitor.
  5. Right-click on the graph and select Add Counters... from the context menu. ...
  6. From the Available counters list, select Paging File.

Is Pagefile faster than RAM? ›

RAM is a more valuable resource because it is much faster than a Page File.

How do I access a pagefile? ›

The pagefile (sometimes referred to as page file or paging file) is a Windows system file whose full name is pagefile. sys. By default, it is located in the root directory of the system drive, typically the C: drive. Figure 1 shows the file on the C: drive as it appears in Windows Explorer.

How to increase pagefile? ›

In the System Properties dialog box, click the Advanced tab and click Performance Options. In the Performance Options dialog, under Virtual memory, click Change. In the Virtual memory dialog box, select a drive. Under Paging file size for selected drive, type new values for initial and maximum sizes for the disk.

What is the difference between virtual memory and Pagefile? ›

Pagefile. RAM is a limited resource, whereas for most practical purposes, virtual memory is unlimited. There can be many processes, and each process has its own 2 GB of private virtual address space.

Should I use Pagefile yes or no? ›

You should never set that setting to 'No Page File' or set a manual amount either, you should always let Windows Manage your Virtual Memory, otherwise you either may not be able to boot up windows or you may experience many problems with software such as lagging.

Can Windows run without Pagefile? ›

Unless you are running applications that require a massive memory space, then most Windows systems can actually run without a pagefile. Obviously if the memory required by all the running processes (including Windows itself) exceeds the physical memory size then it will have problems.

How often is the Pagefile used? ›

When a program is executed, space is allocated for it in the pagefile and in physical RAM at the same time, and is integral to how the program accesses its data in the process's virtual memory space. That means that every program you run uses the pagefile, regardless of whether you have enough free RAM.

What are the disadvantages of paging? ›

Disadvantages of Paging

Since the pages are of fixed size, there is a possibility for internal fragmentation. Page table overhead arises in systems that require large memory. Complex page replacement. An additional layer of memory access is created by paging.

What is the point of paging? ›

Paging is a function of memory management where a computer will store and retrieve data from a device's secondary storage to the primary storage. Memory management is a crucial aspect of any computing device, and paging specifically is important to the implementation of virtual memory.

What is the purpose of the pagefile? ›

The pagefile. sys file, also known as a page or paging file, is a default system file found on Windows operating systems, including Windows 10, Windows 11, and Windows Server. A page file is a way for Windows to virtually extend the available memory on a system.

Is it safe to increase Pagefile? ›

Cause: A Windows best practice is to set the paging file size to equal to or greater than the total amount of available physical memory. Garbage collection is typically more effective at automatic recovery of heap memory when managed heap size approximates paging size.

What should my paging file size be? ›

  • 4 GB RAM = 8,192 MB paging.
  • 8 GB RAM = 16,384 MB paging.
  • 12 GB RAM = 24,576 MB paging.
  • 16 GB RAM = 32,768 MB paging.
  • 20 GB RAM = 40,960 MB paging.
  • 24 GB RAM = 49,152 MB paging.
  • 28 GB RAM = 57,344 MB paging.
  • 32 GB RAM = 65,536 MB paging.
May 9, 2023

How should I set my Pagefile? ›

In the System Properties dialog box, click the Advanced tab and click Performance Options. In the Performance Options dialog, under Virtual memory, click Change. In the Virtual memory dialog box, select a drive. Under Paging file size for selected drive, type new values for initial and maximum sizes for the disk.

Is Pagefile worth it? ›

Pagefile is mandatory for PC to function correctly without running out of system memory space. It's not "worth it or not" kind of thing. It's called differently on Linux/Mac but they have the same thing. If your game mod setup require 9000MB of memory space to run, then you need over9000MB of pagefile.

Top Articles
Circle wanted to create a financial revolution. Instead, it’s losing the stablecoin wars to Tether
How to Remove a Virus From an iPhone | McAfee
Euro (EUR), aktuální kurzy měn
Alpha Kenny Buddy - Songs, Events and Music Stats | Viberate.com
Kagtwt
Simple Steamed Purple Sweet Potatoes
Herbalism Guide Tbc
Ella Eats
Washington, D.C. - Capital, Founding, Monumental
Sports Clips Plant City
Sand Castle Parents Guide
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
7 Fly Traps For Effective Pest Control
Unit 33 Quiz Listening Comprehension
Blackwolf Run Pro Shop
Walmart stores in 6 states no longer provide single-use bags at checkout: Which states are next?
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Katie Sigmond Hot Pics
Purdue 247 Football
Dtlr Duke St
Like Some Annoyed Drivers Wsj Crossword
Galaxy Fold 4 im Test: Kauftipp trotz Nachfolger?
Southwest Flight 238
Masterbuilt Gravity Fan Not Working
Trinket Of Advanced Weaponry
Grays Anatomy Wiki
L'alternativa - co*cktail Bar On The Pier
Elanco Rebates.com 2022
Average weekly earnings in Great Britain
Quality Tire Denver City Texas
Ultra Clear Epoxy Instructions
Tyler Sis 360 Boonville Mo
Retire Early Wsbtv.com Free Book
Watchseries To New Domain
Pawn Shop Open Now
Tirage Rapid Georgia
R/Moissanite
Colorado Parks And Wildlife Reissue List
Armageddon Time Showtimes Near Cmx Daytona 12
Casamba Mobile Login
All Characters in Omega Strikers
Actor and beloved baritone James Earl Jones dies at 93
Emily Browning Fansite
2024-09-13 | Iveda Solutions, Inc. Announces Reverse Stock Split to be Effective September 17, 2024; Publicly Traded Warrant Adjustment | NDAQ:IVDA | Press Release
Gabrielle Abbate Obituary
Beds From Rent-A-Center
303-615-0055
Pronósticos Gulfstream Park Nicoletti
Treatise On Jewelcrafting
Fahrpläne, Preise und Anbieter von Bookaway
Gainswave Review Forum
Bunbrat
Latest Posts
Article information

Author: Prof. An Powlowski

Last Updated:

Views: 6264

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Prof. An Powlowski

Birthday: 1992-09-29

Address: Apt. 994 8891 Orval Hill, Brittnyburgh, AZ 41023-0398

Phone: +26417467956738

Job: District Marketing Strategist

Hobby: Embroidery, Bodybuilding, Motor sports, Amateur radio, Wood carving, Whittling, Air sports

Introduction: My name is Prof. An Powlowski, I am a charming, helpful, attractive, good, graceful, thoughtful, vast person who loves writing and wants to share my knowledge and understanding with you.