When a laptop runs multiple applications at the same time, Windows 11 does not rely solely on RAM; it also maintains a hidden file on the SSD as a buffer. That mechanism is virtual memory: drive space borrowed to hold infrequently accessed data, freeing up physical RAM for active tasks. This article explains how Windows calculates page file size automatically, when to adjust it manually, how to configure the values based on Microsoft documentation, and why this file cannot replace upgrading your RAM.
How Virtual Memory Works on Windows 11 Laptops
Microsoft Learn documentation describes the page file (also known as the paging file) as an optional, hidden system file typically located at the root of the C: drive named pagefile.sys. Its role is to hold modified pages that are rarely accessed, moving them out of RAM so physical memory remains available for frequently used data. In other words, virtual memory on a laptop is a combination of RAM and the paging file, not an extra physical RAM stick added to the system.

Microsoft uses the term committed memory and notes that this is synonymous with virtual memory. The system commit limit equals the total physical RAM plus all existing paging files. The total amount of memory allocated to applications cannot exceed this limit. Once that threshold is reached, the operating system and running processes may not receive additional memory, leading to freezes, crashes, or other instability. You can track both numbers in Task Manager under the Performance tab, in the Memory section, on the Committed line.
Not all data gets written to pagefile.sys. According to Microsoft, files that already exist on disk, such as .exe, .dll, .doc, or .txt files, are not copied here because Windows can read them directly from their original locations. Only modified data that does not yet exist on disk, such as unsaved text in Notepad, relies on the paging file. Once you click save, that data is committed to the file on disk and no longer depends on virtual memory. The core purpose of this mechanism is managing available space in RAM, not boosting processing speed.
Rules Windows Uses to Automatically Manage Page File Size
By default, the paging file in Windows 11 is set to System managed. Its size expands and shrinks based on the amount of RAM, peak memory commit charge, and crash dump settings. Microsoft specifies a clear threshold: when total committed memory exceeds 90% of the commit limit, the file expands. It can grow up to 3 times the RAM capacity or 4 GB, whichever is larger, while not exceeding 1/8 the size of the partition it resides on. The table below applies this formula to common laptop RAM capacities.
| Laptop RAM Capacity (GB) | RAM ÷ 8 Factor Used for Initial Size (GB) | Maximum Size in System Managed Mode, 3 × RAM (GB) |
|---|---|---|
| 8 | 1 | 24 |
| 16 | 2 | 48 |
| 32 | 4 | 96 |
| 64 | 8 | 192 |
Conversely, the starting size is not fixed. Microsoft notes that the minimum size varies based on paging file usage history, the amount of RAM (calculated as RAM divided by 8, up to 32 GB), and crash dump settings. The Automatic memory dump option is enabled by default and initially sets a small size, sufficient to capture kernel memory in most scenarios. If the laptop encounters another blue screen within 4 weeks, Windows increases the page file size to match the amount of RAM or 32 GB, whichever is smaller.
The 3x RAM figure is therefore the absolute maximum limit virtual memory can expand to, not a recommended size to set manually. On a laptop with a C: partition of roughly 512 GB, the 1/8 partition limit caps the file around 64 GB, so a 32 GB RAM configuration is unlikely to reach the theoretical 96 GB ceiling shown in the table. The automatic mechanism also works only when the C: drive has free space. If the drive is nearly full, the paging file cannot expand, and low virtual memory warnings are more likely to appear even with ample RAM.
When You Should Adjust the Page File Instead of Letting Windows Manage It
A common scenario is encountering a "Your system is low on virtual memory" alert when launching demanding applications. A Microsoft support article addressing this error with Office explains that the cause is a paging file value set too low, and the solution is to increase its size. The article also notes that reducing the paging file size can prevent applications from starting properly, even on laptops with substantial RAM. Consequently, when this warning appears, the first step is to check whether the page file was disabled or locked to a small fixed value.

Microsoft also outlines conditions under which you should consider expanding or adding a paging file, which apply when all three occur simultaneously. First, the system requires additional available physical memory. Second, the Modified Page List consumes a significant amount of memory. Third, existing paging files are nearly full, specifically when % Usage exceeds 90. Laptops running virtual machines, editing long video projects, or opening spreadsheets with hundreds of thousands of rows are typical cases where monitoring these three metrics in Performance Monitor is worthwhile.
Another reason to adjust settings manually is the need to capture a crash dump file (Memory.dmp) when troubleshooting blue screen errors. Microsoft emphasizes that the paging file or a dedicated dump file must be large enough for the chosen dump type; otherwise, Windows cannot generate the file. For office laptops operating normally, the automatic setting should be the default choice because it handles everyday needs reliably. Manually configuring a small size to conserve SSD space typically does more harm than good, as it immediately constricts the commit limit.
Steps to Properly Set Virtual Memory in Windows 11 on a Laptop
To open the settings dialog, press Win + I, navigate to System, select About, and click Advanced system settings. A faster shortcut is to press Win + R, type sysdm.cpl, and hit Enter. In the System Properties window, select the Advanced tab, click Settings under Performance, and switch to the Advanced tab in Performance Options. The Virtual memory section is located here, displaying the total paging file size across all drives; click Change to adjust it.

In the Virtual memory dialog, uncheck Automatically manage paging file size for all drives. Select drive C, choose Custom size, and enter values for Initial size and Maximum size, both in MB. Click Set, then OK; Windows will prompt you to restart to apply the changes. The article How to Add Virtual Memory in Windows 11 to Fix Low RAM Errors walks through this process step by step when Windows warns of insufficient RAM.
The MB unit can easily cause confusion: 1 GB equals 1,024 MB, so 8 GB is 8,192 MB and 16 GB is 16,384 MB. Entering 16000 with the intention of setting 16 GB leaves you short by 384 MB. To restore the default, simply recheck the automatic management box or select System managed size for drive C. After restarting, open Task Manager to verify that the commit limit on the Committed line has increased by the amount of virtual memory you just set.
What Page File Size You Should Set According to Microsoft Recommendations
The document How to determine the appropriate page file size for 64-bit versions of Windows answers quite directly: the size depends on your crash dump settings and peak memory commit levels. These two factors are unique to each system, even between two identical hardware setups, so there is no single number for every laptop. The table below summarizes the minimum requirements for each crash dump type, along with calculations for a laptop with 16 GB of RAM.
| Crash Dump Type | Microsoft Minimum Requirement | 16 GB RAM Laptop Example |
|---|---|---|
| Small memory dump (256 KB) | 1 MB | 1 MB |
| Kernel memory dump | Depends on OS kernel virtual memory usage | Varies |
| Complete memory dump | 1 × RAM plus 257 MB | 16,641 MB |
| Automatic memory dump (default) | Depends on the OS kernel; if errors recur within 4 weeks, equal to RAM or 32 GB, whichever is smaller | 16,384 MB when errors recur |
As for memory commitment, you can estimate it yourself. Open the applications you typically run together under heavy loads, then check the first number on the Committed line in Task Manager. Because the commit limit equals RAM plus the page file, this file needs to be at least the difference between your peak commit charge and physical RAM capacity, plus some headroom. For example, if a laptop with 16 GB of RAM reaches 22 GB committed at times, you should set it to 6 GB or more, which is roughly 6,144 MB.
Two Microsoft documents show discrepancies regarding the Small memory dump setting. The sizing guide for 64-bit Windows lists a 1 MB minimum, whereas the crash recovery configuration page requires a paging file of at least 2 MB on the boot partition. The second document also notes that for a kernel memory dump on a 64-bit system, the maximum space required can reach RAM plus 128 MB. Adding a few hundred MB of headroom above both thresholds is a practical way to minimize risk when configuring it manually.
Does Virtual Memory on an SSD Damage the Drive and Can It Replace RAM
Concerns that the page file wears down SSDs were addressed by Microsoft back in the Windows 7 era in the article Support and Q&A for Solid-State Drives on May 4, 2009. Based on telemetry from thousands of traces, reads from pagefile.sys outnumber writes by roughly 40 to 1. About 67% of reads are 4 KB or smaller, while writes are typically large, with 62% being 128 KB or larger. This access pattern is well-suited to SSDs, leading Microsoft to conclude that few files are better suited for SSD placement than pagefile.sys.

If a laptop has two drives, Windows uses whichever paging file responds first, meaning the one on the faster drive sees more activity. Microsoft notes that placing this file on a fast or slow drive only matters when it is accessed frequently and the host drive is overloaded. On a laptop with a single NVMe slot, keeping the page file on drive C under automatic management is a sensible approach. Disabling virtual memory entirely to protect the SSD removes the ability to generate dump files and lowers the commit limit.
The page file cannot replace RAM because their access speeds differ vastly. Each hard page fault forces Windows to read approximately 4 KB from the drive. Microsoft cites an example where 100 hard page faults per second equals a transfer rate of 400 KB/s, which can slow down the entire system when the drive is overloaded. Before paging data to disk, Windows also compresses memory pages directly in RAM, a mechanism explained in the article What Is Memory Compression in Windows? When the Committed figure regularly exceeds physical RAM capacity and the laptop noticeably slows down, adding more RAM remains the definitive fix, provided the laptop has an available upgrade slot.
Frequently Asked Questions (FAQ)
Should You Disable the Page File on a Laptop with 32 GB of RAM?
Microsoft notes that on systems with a large amount of RAM, a page file may not be needed to handle peak commit charges, but this file or a dedicated dump file may still be required to generate crash dumps. Certain applications also require a page file to function properly. In practice, the system-managed mode keeps virtual memory at only a few GB when idle and expands as needed, making it safer than disabling it completely.
Does the 1.5 Times RAM Rule for Virtual Memory Still Apply?
The 1.5 times RAM benchmark only remains in Microsoft's kernel memory dump guidance table for RAM capacities between 256 MB and 1,373 MB. For 64-bit systems with 1,374 MB of RAM or more, the documented figure is the RAM capacity plus 128 MB. Microsoft also makes clear that page file sizing cannot be generalized into a single formula, so the most practical approach is to measure the Committed line during peak usage.
Does Virtual Memory Reduce a Laptop's SSD Lifespan?
According to data published by Microsoft, reads from pagefile.sys occur roughly 40 times more often than writes, and 45% of writes are exactly 1 MB in size, a sequential write pattern that SSDs handle well. Windows only writes modified data to pagefile.sys that is not already stored on the drive. The volume of writes depends on how much RAM the system lacks, so a laptop with sufficient RAM for daily tasks writes very little to this file.
How Do You Know if a Laptop Is Running Low on Virtual Memory?
A direct indicator is the "Your system is low on virtual memory" prompt, or an application reporting insufficient memory even when RAM is not full. In Task Manager, if the first number on the Committed line is close to the second, the system is nearing its commit limit. Performance Monitor includes the % Committed Bytes In Use counter to track this ratio over time, helping you decide whether to enlarge the page file or upgrade your RAM.
