There seems to be a debate all over the web and I can’t seem to get a
straight answer. I know you covered page file on your website. But can it be
disabled, even deleted, if you’re using an SSD drive? According to some forum
pages, they go so far as to say it’s useless along with super fetch and
hibernation all in an attempt to free up space for a 60 GB SSD. I thought this
would be plenty of space when I ordered my laptop only to see it have 30 GB
free the day I received it in the mail. Using Windows 7, 64-bit, and it has 8 GB
In this excerpt from
Answercast #17, I talk about freeing up disk space from the paging file and
what may cause you to decide to turn it back on again.
Delete the page file?
With 8 GB of RAM, it is certainly reasonable to consider turning off the paging file. The short answer is, absolutely, you can turn it off.
The way to do that is to go into the paging file settings and then set the paging file to zero for all drives.
That way, when you reboot, the system won’t even try to create one. If there’s an existing paging file, you can then just delete it. Just go look at it; delete it like you would any other file. It won’t be in use like it normally would and you won’t be prevented from deleting it.
Will you have enough memory?
If you’ve got 8GB of RAM, that could be more than enough.
I ran my desktop for a couple of years with no paging file with 8 GB of RAM. Only recently did I turn it back on because I was starting to do a few things that occasionally would push me past 8 GB of RAM usage.
I think my laptop that I’m recording this on today also has 8 GB of RAM and I believe I have the paging file turned off here too. It works just fine.
What it boils down to though, is that it really depends on how you use your computer:
If you run a lot of software simultaneously.
Or you run software that uses a lot of memory.
On my desktop, I was trying to run several virtual machines at the same time. Then, you may need a paging file.
But if you’re not, if you are just doing the standard stuff like surfing the web, checking email, and some simple things like that, then I’m sure you can get away without it.
Delete hibernation file
Hibernation? Again, yes.
That takes up disk space because it will create (in your case, and in my case) an 8 GB hibernation file.
A hibernation file is basically the size of your installed RAM. I never use hibernation so it’s a feature that I immediately turn off when a laptop arrives. That then allows me to go in and delete the hibernation file: hiberfile.sys. So, those are a couple of ways that would free up a fair amount of disk space right away.
Move the files
The other alternative, of course, if you’ve got a hard disk in the machine, is to move the paging files and hibernation file (in particular) to a different drive.
But then if you start saying, “Am I really getting the speed advantage I wanted out of my SSD?” …if you want this speed advantage, you kinda sorta want the paging file on the SSD.
So, it gets complicated, but absolutely, you can turn them off.
I recommend that you do so immediately. You probably also want to start taking a look at what other kinds of things are on the C drive that may be moved elsewhere, or removed, for space savings.
I have an article I would point you at, “What are hiberfil.sys and pagefile.sys? (And how do I remove them?)” That will run you through the steps to turn both of them off and remove the files: freeing up the disk space.
Next from Answercast #17 – Why do I get an error that says “The requested operation requires elevation”?
7 comments on “Can I delete the paging file if I'm using an SSD drive with 8GB of RAM?”
If I remove (or delete) hyberfil.sys, I get error messages from my USP auto-shutdown program section. Apparently it is used to safely shut down the computer during a power failure.
The most common reason for not being able to delete the hiberfil.sys file is that hibernation is enabled on the computer. Disabling hibernation should allow you to delete hiberfil.sys. If not you might try a tool like Unlocker Assistant.
You might also want to check out this article for more information. Why do my files get locked?
I think you always need a pagefile. When I look into my Resource Monitor on my 8GB desktop, I see a lot of hard faults.
I also think that the system creates an emergency page file if you totally delete it.
Concerning moving hiberfil.sys — I recall from years ago that it must be on the boot drive, as that is the only place the wake-up feature knows to look for it. I don’t like this file primarily because it increases the size of disk image files by a very large amount (the size of the hiberfil.sys file, less whatever compression the image has#.
Moving the paging file makes much sense and should be done #as a general rule) on any system with available alternate partitions.
This article is 11 years old. Is 8 GB still enough RAM to operate without the Paging File, or would 16 GB be a more reasonable RAM size considering that RAM requirements increase over the years?
It depends. On how you use your computer. My sense is that basic usage (99% of your time in a browser, and you manage tabs well) you could be fine. I’d leave the paging file on though.
I still plan to keep it on. If I have enough RAM, it will rarely, if at all, write to the paging file, and with an SSD, paging file access isn’t noticeably slower slower than having more RAM unless you are doing very resource hungry stuff.