If I turn off my paging file, I’ve heard that in most cases, it will actually
slow down the computer rather than speed it up as it would logically seem to
because of the way that memory is managed. Could you shed some light on
Windows memory management is complex, confusing, and the stuff of nightmares.
And that’s for the people who “understand” it.
Become a Patron of Ask Leo! and go ad-free!
If I turn off my paging file, I’ve heard that in most cases, it will
actually slow down the computer rather than speed it up as it would logically
seem to because of the way that memory is managed. Could you shed some light on
This has in no way been my experience. The machine that I’m running right
now that’s hosting the virtual machine that you are looking at, has eight GB of RAM
and I have no paging file and I have not noticed any issues.
I honestly cannot think of a memory management scenario where not having a
paging file would slow you down. Clearly, whatever you end up writing to the
paging file takes more time that it would to read or write it from RAM so I’m
not sure what the details are.
Memory management is one of those things I’ve referred to as causing
nightmares even to the people that understand how it works because it is that
insanely complex. So I’m certainly not going to say absolutely not. But right
now, I’m with you. I don’t see how that could cause a problem or performance
Sorry, but what’s a paging file?
A paging file is your virtual memory. In fact, there are several different
files on virtual memory. So a paging file, I think, is one of three or four different
synonyms that all boil down to a file on disc that Windows uses kind of as
‘fake’ memory when it runs out of real memory.
So one of the things Windows can do, like I said I have eight GB of RAM on my
machine. If the combination of programs I’m running, for whatever reason,
require more than eight GB, Windows will start using the hard disc, this paging
file on the hard disc to copy out some RAM, some real RAM to make it available
for me. And then when the program that originally wanted what was in that RAM
to begin with, needs it, then maybe the memory that I just requested will get
written to hard disc and then the memory that the other program wanted gets
read back to real RAM and it gets used for awhile.
I’ll reference my earlier statement about memory management being insanely
complicated. Virtual memory and paging files are indeed part of that
complexity. Windows goes through a tremendous amount of effort to try and
maximize the performance of the machine given all of the different programs
that are running; priorities that they may have and options that it may have
available to it like the paging file.
So, basically, I’d refer you to this article ‘What is Virtual Memory?’ for an
overview of what it really means to be a paging file with the understanding
that a paging file is really just a synonym for virtual memory.