Can a full pagefile slow down my PC?

I was working on a company computer, trying to figure out what was wrong with it, why it was running so slow. I started running a chkdsk Friday afternoon, and it took almost an hour just to get to 2% on the first step. So I start thinking, maybe it was a faulty hard drive.

When I came to work this morning to look at the computer, the chkdsk had been finished and I was at the normal logon screen for Windows 7. I clicked on "switch user" and logged on as administrator. It took the PC at least 5 minutes to get from the "Welcome" screen to where I could see the desktop.

The computer is brand new, only a couple months old. On a side note, I did bump up the size for the pagefile and once I restarted the computer, it started running faster.

EDIT: @Mortie -> Here is the screenshot you were looking for on the HDTune

enter image description here


How much RAM does the machine have?

The page file in Windows-based operating systems is a special file that acts as a sort of "scratch pad" to store modified pages that are still in use by some process. So, in simplistic terms, the page file is used by Windows to hold temporary data which is swapped in and out of physical memory in order to provide a larger virtual memory set.

Having this file full would indeed slow the machine down if it has run out of actual memory (RAM) and is using the page file consistently. I would check to see if all of the RAM is being recognized as accessing the page file is thousands of times slower than accessing the RAM.

A cheaper way to potentially improve performance would be to use a fast SD or USB drive to enable Readyboost in Windows 7. It would be better to resolve the root of the issue, though.

For that, I'd look at the RAM first. You say it's a company computer, so have them buy some more RAM for the machine if all of the installed RAM is currently being recognized.


Can a full pagefile slow down my PC?

The body of the question aside, to answer just the title; yes and no.

No, it will not be slower than when it is for example "half-full". Using the pagefile at all will mean disk access which of course is slower than physical RAM, but the amount of pagefile use does not make it slower. (That said, theoretically, if the pagefile is contiguous for, say, 90% then becomes heavily fragmented, then yes, it would become slower when you start having to use the upper parts of the file.)

On the other hand (and more importantly), if your pagefile is "full" then you have completely run out of all forms of memory both physical and virtual. At that point, Windows will give you a warning about being out of space and that programs may not be able to allocate memory (this is a different warning than the one below that tells you that Windows is expanding the pagefile and that some memory allocations may not be fulfilled during the process). This will often be followed shortly by programs starting to crash (not just new programs, but even existing programs, depending on their nature). At some point this could take the system down and require a reboot, which of course slows everything down.

enter image description here


In regards to the actual problem, it sounds like the system was simply paging back in all/most of the data from the swapfile to physical RAM when you used the system. This can take a while. By increasing the pagefile, you made it so that less data has to be paged, but even so, Windows has a tendency to swap out memory from idle programs regardless. This question had a different cause, but similar symptoms.


I had several computers that were showing a full or nearly full pagefile (according to the All CPU meter gadget). One of the computers became excessively slow (Pentium D, small disk), and one machine had a full pagefile with no programs running at all. In all of them shutdown took ages as Windows zeroed out the pagefile.

I spent some time looking into this but none of the web pages where this question was asked seems to have come up with a solution. Finally last week as I was checking that Windows 7 was properly configured for SSDs did I run across the answer. Windows is filling the page file because of superfetch. Slow computers with a small page file can become glacial and unusable.

You can fix this by disabling superfetch. You'll find directions on how to disable it in most setup lists for SSDs. These pages also suggest disabling prefetch, but if you don't have an SSD this will really slow down program load times. Disable superfetch only, reboot and you should see a mostly unused page file. My 2GB Pentium D still shows some page file useage, but it has little memory and a small pagefile (this disk is too small to make it larger), but the computer is much more responsive now.