delete pagefile safe?

NiceCold

Senior member
May 14, 2011
543
0
0
i use windirstat to locate all my data to see which data is hogging all the space.

i found something that says pagefile sys and hiberfil both is 3gig! total 6gigabyte!

i google http://www.techmixer.com/pagefilesys-how-to-remove-pagefilesys-from-windows/

i am still nervious about deleting it. i want to confirm if it is safe to delete it? i dont want to mess up my computer. is it ok to delete it?





i have vista 3gb ram. my hardrive only got about 4gig left. i need to make room.
 
Last edited:

KentState

Diamond Member
Oct 19, 2001
8,397
393
126
You will not be able to delete the files. You can turn hibernation off and the file will be promptly removed by the system. The pagefile however is the cost of running the OS and you will have to live with it. Yes, you can turn it off, but I really don't want to get into that debate.

http://support.microsoft.com/kb/920730

Open a command prompt as admin and enter:

powercfg.exe /hibernate off
 
Last edited:

Phynaz

Lifer
Mar 13, 2006
10,140
819
126
Do not delete your page file. It's there for a reason.

People will tell you that you don't need it. I tell them that Microsoft knows more about Windows memory management than they do.
 

KingFatty

Diamond Member
Dec 29, 2010
3,034
1
81
The best move, to satisfy everyone and you, would be to reduce the size of the pagefile to very small like 200 megabytes (~0.2 GB). Or maybe if you are adventurous, reduce it to 50 megabytes.

But also enable the setting where it says to allow Windows to enlarge the pagefile if necessary.

That way, you still have the pagefile, and if it needs to grow it will grow, but you would free up nearly all 3 GB of space.

Also turn off hibernation as explained above, that will remove the hiberfil.sys and free up that 3 GB no problemo. So you could save like 5.8 GB total.
 

NiceCold

Senior member
May 14, 2011
543
0
0
hibernate? so the hiber sys is actually for hibernation? but how? my computer never go on hibernate, how does the hiber file be so huge if my computer never goes to hibernate?

my screen goes black though after 5 hours or so idling when i go to bed without turning off the computer. does the monitor counts as hibernate too? but the actual machine still running while the monitor just black out.

and man i almost delete those two files directly. must do special method to delete it huh if wanted to. i guess i have to research more and before doing anything about these file.
 
Last edited:

KentState

Diamond Member
Oct 19, 2001
8,397
393
126
Hibernation is on by default and the file is a mirror of your memory and page file. Just turn it off like I stated above.
 

bbhaag

Diamond Member
Jul 2, 2011
6,762
2,146
146
Those look like Dos commands. I thought Windows shed Dos back in 95? How would I execute these from within Windows? Are certain aspects of Windows still based on executing commands in the shell?
 
Last edited:

DirkGently1

Senior member
Mar 31, 2011
904
0
0
Those look like Dos commands. I thought Windows shed Dos back in 95? How would I execute these from within Windows? Are certain aspects of Windows still based on executing commands in the shell?

Type cmd into the Start menu and open cmd.exe from the link. Type in powercfg -h off

Job Done.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Those look like Dos commands. I thought Windows shed Dos back in 95? How would I execute these from within Windows? Are certain aspects of Windows still based on executing commands in the shell?

It's not DOS proper, but CMD's syntax is based upon DOS so that's what Windows users are stuck with. There's also PowerShell, but it's an even worse interactive shell.

tweakboy said:
You need the pagefile for hte 3.2GB ram you have. Set it to custom size

4000 min
4000 max on your SSD boot drive or another hard drive. gl

Please stop. Having a pagefile is smart, but setting a max size has no effect other than removing a safety net.

ShintaiDK said:
Didnt use pagefile since 2006. Never missed it.

Did you also remove the seatbelts from your car to make it faster?
 

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
Did you also remove the seatbelts from your car to make it faster?

Thats a pretty wierd comparison.

Obviously you removed your seatbelts in accessing the internet

The pagefile basicly serves 2 purposes. One is to offer debug. Other is to make up for the lack of physical memory. And if you move the pagefile away from the boot drive, you also lose the debug.
 
Last edited:

el-Capitan

Senior member
Apr 24, 2012
572
2
81
I am with Nothingman here.

A pagefile is a good idea and the few gigs of HDD space should be available for anyone.
Limiting the size of the pagefile is a relic from days where we were concerned about fragmenting our HDDs - that is definately no longer necessary.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Thats a pretty wierd comparison.

Obviously you removed your seatbelts in accessing the internet

The pagefile basicly serves 2 purposes. One is to offer debug. Other is to make up for the lack of physical memory.

I like the analogy because the net effect is the same. You've removed a safety net in order to get yourself better performance but it will really have no appreciable affect.

That's all it does at an absurdly high level, yes. But the effects it has are much more than that and unless you've helped develop the Windows VMM system I doubt you can accurately list all of its use cases. And the fact that MS spent all that development on mobile Win8 and still has a pagefile setup in WinRT surface tablets should be a good indicator that it's still a good idea to have one. If MS can't reliably disable it in a limited environment like that why do you think it's a good idea in an open environment like a normal PC?
 

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
Since you go the MS route of knowing better. Then there must be some very scary warning if you try to dsiable the pagefile right? Plus the ability to disable the pagefile shouldnt be so easy.

MS makes a default setup that can 2 things. Debug and run on all hardware. Nomatter if you got 1GB memory or 576GB memory.

And again, debug goes down the drain if you move the pagefile from the boot partition.
 
Last edited:

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Since you go the MS route of knowing better. Then there must be some very scary warning if you try to dsiable the pagefile right? Plus the ability to disable the pagefile shouldnt be so easy.

MS makes a default setup that can 2 things. Debug and run on all hardware. Nomatter if you got 1GB memory or 576GB memory.

And again, debug goes down the drain if you move the pagefile from the boot partition.

I think there should be a scary warning, but I'm guessing there's not because they didn't think anyone would even consider that. You can disable it easily because you can disable the pagefile on any single volume, apparently the dialog isn't smart enough to warn you if you stupidly disable it on all volumes.

Surface isn't a "default setup" for running on all hardware, it's a tablet install for a very specific workload on a very specific set of hardware much like iOS and Android.

tweakboy said:
Once you have 4GB of RAM usually you don't have to use it unless a certain program just simply needs to have it. gl

That's a completely arbitrary number which means nothing. Please just stop.
 

wpcoe

Senior member
Nov 13, 2007
586
2
81
It's not a "scary warning," but in Win8 on my notebook with 8GB RAM, I got an error message when I tried to reduce the page file to 128MB (like I had in Win7) which said I should not set the minimum to less than 400MB if I wanted error reporting to function. On my desktop with 12GB RAM, it said the minimum should not be less than 800MB. Like a good little Borg drone, I complied.
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
hibernate? so the hiber sys is actually for hibernation? but how? my computer never go on hibernate, how does the hiber file be so huge if my computer never goes to hibernate?

But if you ever WANTED to hibernate then windows will save a copy of your RAM into that file. Which serves as an empty placeholder to keep the space from being used up by other programs (and then the hibernation process fails)

the hibernation file size is always equal to the amount of ram you have. I have 16GB of ram
 

mikeymikec

Lifer
May 19, 2011
18,060
10,242
136
hiberfil.sys is necessary for hibernation but it also is necessary for the 'hybrid sleep' function (Vista and later) - with hybrid sleep, before your computer enters sleep mode, the contents of RAM are written to that file, so that if power is lost during sleep mode, Windows can resurrect the session from that file.
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
hiberfil.sys is necessary for hibernation but it also is necessary for the 'hybrid sleep' function (Vista and later) - with hybrid sleep, before your computer enters sleep mode, the contents of RAM are written to that file, so that if power is lost during sleep mode, Windows can resurrect the session from that file.

My experience has been that whenever that happens my keyboard and mouse would not work and I would be unable to login or do a proper shutdown (since the PC is locked when it loses power). Forcing me to do a hard reset. As a result I have been disabling hybrid sleep
 

bbinnard

Member
Jan 15, 2010
32
0
61
Just to add to the confusion, my 6GB RAM Win7-64 system has run ever since I installed it with no page file on the boot drive. I did specify a 4GB page file on my first 500GB HDD (drive F: for me) but I have no idea if it has ever been used.

I have read that a page file has to be on the boot drive, but I don't know if this is really true. Seems to me that if it were true there wouldn't be an option to put a page file on non-boot disks. But there is.
 

cytg111

Lifer
Mar 17, 2008
23,561
13,122
136
Do not delete your page file. It's there for a reason.

People will tell you that you don't need it. I tell them that Microsoft knows more about Windows memory management than they do.

You dont need it, turn it off, delete it.






I dont use one and in the history of windows i've only ever had one fault directly related to it, some version of excel demanded to have a pagefile present or it wouldnt start.
Friggin weird and not true now.
 
Last edited:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |