Does Vista really need this much pagefile?

Sovereign

2[H]4U
Joined
Mar 21, 2005
Messages
3,098
I have 8GB RAM. I left the pagefile on auto (I know that turning it off has supporters and detractors, let's operate under the assumption I'm leaving it on). However, I just found out that Windows has allocated 24.5GB of hard disk as a pagefile across two drives. Is this even necessary?????
 
With 8GB of ram you certainly can reduce pagefile to 100MB on C:\ and that's it. XP doens't require a pagefile at 2GB+ and Vista 32bit at 4GB+. On 64bit Vista, 8GB+ also eliminates the need of a large pagefile.

100MB on C:\ are required to keep some windows functions and even if you entirely disable the swap, Vista would still keep that minimum amount on the system partition.
 
Isn't the reason for keeping the pagefile on because some applications ask for HUGE amounts of memory when they don't really need it, and those requests are paged rather than counting against physical RAM? If that is the case, wouldn't I want a pagefile (just a much smaller one) on D or S? I have three drives. C - 150GB Raptor, D - 750GB WD Caviar, S - 750GB WD Caviar.
 
Isn't the reason for keeping the pagefile on because some applications ask for HUGE amounts of memory when they don't really need it, and those requests are paged rather than counting against physical RAM? If that is the case, wouldn't I want a pagefile (just a much smaller one) on D or S? I have three drives. C - 150GB Raptor, D - 750GB WD Caviar, S - 750GB WD Caviar.

That 24.5GB is frankly absolutely ridiculous, not to mention that setting it to auto LOWERS performance.

Set it to static, choose a separate hard drive to set it to (one of your 750s), and set the page file to about 2500MB (2.5GB). Save, and restart.

That's being conservative. On almost ALL systems I set up, I set it between 768 to 1500MB. I think my personal rig, if I remember correctly, is set to 1500MB.

Endeavor said:
With 8GB of ram you certainly can reduce pagefile to 100MB on C:\ and that's it. XP doens't require a pagefile at 2GB+ and Vista 32bit at 4GB+. On 64bit Vista, 8GB+ also eliminates the need of a large pagefile.

100MB on C:\ are required to keep some windows functions and even if you entirely disable the swap, Vista would still keep that minimum amount on the system partition.

Sorry, but this is totally false. XP REQUIRES a pagefile, regardless of what you do, and so does Vista. You must have a pagefile at all times.

I'd like to see those guys who say that having a large amount of memory negates the need for a page/swapfile run Adobe Photoshop. You can't even start the program if you don't have a page file.:rolleyes:
 
If you do not have a page file on system drive that at least the size of your memory windows can not create a core dump file if your system blue screens. to the avg. joe this does not mean to much and not very useful, but if you want to find out what a problem might be it can be useful.
 
If you do not have a page file on system drive that at least the size of your memory windows can not create a core dump file if your system blue screens. to the avg. joe this does not mean to much and not very useful, but if you want to find out what a problem might be it can be useful.

Yeah, that's also what I forgot to include. Not to mention that you won't be able to do stuff like hibernate if you don't have a page file.
 
Sorry, but this is totally false. XP REQUIRES a pagefile, regardless of what you do, and so does Vista. You must have a pagefile at all times.

I think that subject has been discussed a couple of times. Where do you get this info? As long as there is enough RAM, the paging file is not a requirement, it is 100% optional.
 
Here they do some stuff with Photoshop sans page file, however I'm not even considering turning it off. I will shrink it though. Also this computer utterly fails when it comes to Sleep/Hibernate so I'm not even going to try...
 
Here they do some stuff with Photoshop sans page file...

They SAY it, but who knows if they've actually tried it. You can probably open files in Photoshop without a page file, but will you actually be able to use it? HELL NO. You'll get errors all over the place stating that there is no paging file, and that Photoshop is "out of memory". I tried this myself, and couldn't even open a file. I don't know what they're talking about.

I think that subject has been discussed a couple of times. Where do you get this info? As long as there is enough RAM, the paging file is not a requirement, it is 100% optional.

Not to sound sarcastic, but from where did I get that info?

EXPERIENCE. Go ahead, install 4GB of RAM into your system, and then remove the page file. Let's see how long you last. It'll be errors galore. Not benchmarks, I'm talking everyday usage/apps. I know because I actually tried it about 6 years ago, thinking logically: the hard drive is slower than the RAM. Why should I keep a paging file when I can tweak Windows to put the paging inside the RAM?

That turned out to be nothing sort of disastrous. Needless to say, I've always had a static set amount of paging file on my drives ever since. I doesn't have to be exorbitant, but you definitely should have one. For your own sake.
 
You can indeed turn off your pagefile completely, just you might run out of memory if you don't have enough physical memory to suit your needs. (Obvious.)

The non-obvious thing about your pagefile (separate from your hibernation file) is that it should be at least as large as your physical RAM if you want bluescreens to be debuggable at all. You might not care, but a full memory dump needs to fit to be able to deal with kernel panics. (Otherwise the OS will have no information to look at when it comes back to the land of the living.)

Just something to consider. But it doesn't need to be any more than your physical.
 
If you get errors, it means you run out of memory. And then you have good use of the paging file. It is very individually.

Saying that Windows REQUIRE a paging file is false. I've seen others say the same, maybe because they have misunderstood something about memory management, virtual and physical address spaces and paging
 
With 8GB of ram, I reduced the swapfile to 50MB static and recovered my HDD space. But then again, all I do is game and convert video. I have yet to have anything crash due to lack of memory. In fact I don't think anything has crashed on me at all after my last fresh vista64 install with sp1.

Yeah I can't use sleep/hibernate. I'm comfortable with that.
 
Geez why does everyone get so touchy? It's just computers, and for that matter it's not even YOUR computer. I was just primarily trying to make sure that downsizing the pagefile was not going to hurt anything. I'm at home right now (my big rig is at school) but will be returning there in about a week. Pagefile gets shrunkified. I don't need to debug blue screens though, so I don't really care if I can't get a crash dump.
 
That 24.5GB is frankly absolutely ridiculous, not to mention that setting it to auto LOWERS performance.

Set it to static, choose a separate hard drive to set it to (one of your 750s), and set the page file to about 2500MB (2.5GB). Save, and restart.

That's being conservative. On almost ALL systems I set up, I set it between 768 to 1500MB. I think my personal rig, if I remember correctly, is set to 1500MB.



Sorry, but this is totally false. XP REQUIRES a pagefile, regardless of what you do, and so does Vista. You must have a pagefile at all times.

I'd like to see those guys who say that having a large amount of memory negates the need for a page/swapfile run Adobe Photoshop. You can't even start the program if you don't have a page file.:rolleyes:

I've disabled my page file and Photoshop loads. Weather Vista still has it activate without my knowledge, I don't know, but in my settings it's disabled. Photoshop CS2 still loads. When I was running Windows XP and 4GB of ram with Photoshop 7, I had it disabled there to. I would get ONE warning message when I first loaded PS7 and that was it, it still worked.
 
Well it works like this: Windows will resize the pagefile to fit its needs as required, meaning if and when the RAM in the system isn't enough to satisfy the requirements of the software in use at any given moment, and the current pagefile (at any given moment) becomes full necessitating the expansion. *phew*

It really does make sense, I assure you.

The issue here is: with 8GB of RAM in that box, Vista would not just arbitrarily or randomly start resizing the pagefile just for shits and giggles - especially not to the size you (meaning the OP) stated in the first post, and Vista will not just decide to create pagefiles on additional drives/partitions/volumes automagically.

So something is wrong, somewhere.

I would suspect some application has a memory leak, and you (meaning the OP) haven't done any recent checking of Task Manager to see what might be doing the leaking. Over time, even a relatively small leak can turn into something monstrous, and if Vista was showing 24GB of pagefile activity, then again, something is wrong, somewhere.

People seem to think Windows is some static entity that never changes, programs will always use the same amounts of RAM/pagefile/virtual memory, etc and that couldn't be farther from the truth. Every time we boot any computer OS it's a different OS than the last time we booted it (unless you're using DeepFreeze or something similar, of course). Things change, things go wrong, it's just how it goes.
 
The issue here is: with 8GB of RAM in that box, Vista would not just arbitrarily or randomly start resizing the pagefile just for shits and giggles - especially not to the size you (meaning the OP) stated in the first post, and Vista will not just decide to create pagefiles on additional drives/partitions/volumes automagically.

This is about the normal for Vista. In fact on systems with 8GB of memory I've seen vista put figures anywhere from 12 to 24GB in the 'Recommended' field when you are in the swap file dialogue, so the fact that his system is using a 25GB swap file on autopilot isn't that surprising to me.

Though I've never seen vista arbitrarily start a swapfile on another drive nor span them across multiple drives, not without explicit user intervention.
 
I did set it (when I had 4GB) to span across my two non-system drives...auto managed.
 
Here is some things about Vista;

* Windows sets the initial minimum size of the paging file at the amount of random access memory (RAM) installed on your computer plus 300 megabytes (MB), and the maximum size at 3 times the amount of RAM installed on your computer.

* You can remove a paging file from a volume although doing so is not recommended, even on systems with a lot of RAM.

* If you have more than one physical disk, moving the page file to a fast drive that doesn’t contain your Windows system files is a good idea. Using multiple page files split over two or more physical disks is an even better idea, because your disk controller can process multiple requests to read or write data concurrently.

Anyways crap ton of info here:

http://windowshelp.microsoft.com/Windows/en-US/Help/596fb57f-cc9d-4ac5-a813-5c0830e9156a1033.mspx
 
I deliberately put the pagefile on my non-Windows volumes. I will say my Sidebar was leaking (I've caught it at 400MB+ before) but I nailed that down and no longer run any leaky Gadgets. However, I don't think this inflated my pagefile to the size it is currently. Based on the formula "Windows sets the pagefile to a maximum of three times installed RAM plus 300 megabytes" the 24GB pagefile makes sense from that perspective, but I'm certainly downsizing it to static. Probably dual static 2048MB on both 750GB Caviars.
 
Nothing in that link says that it's no longer needed. That section is listing because you linked to an article entitled "How to set the minimum page file for Windows XP and Server 2003 64-bit".

Look, a few things: First, Windows DOES need a pagefile. It will perform worse without one. Second, Windows knows better than you how to determine what it needs in a pagefile. Setting it to Static or to a certain limit might have worked in XP, but Vista is not XP. When it comes to CPU and Memory scheduling, your computer (and the people who wrote the software that runs on it) is smarter than you. A LOT smarter. Leave it alone.
 
Leave it alone.
After all this time, I'm still not understanding why this concept is such a hard thing to grasp or accept. We finally have a Windows OS that doesn't need a lot of tweaking out of the box for maximum efficiency.
 
I'm all for reducing waste and everything, but really, with more than 1.5 terabytes of disk storage you are worried about a 24 GB pagefile? Just let it alone.
 
How did you validate this claim?

Quite easily.

Turn page file on, use the computer, run benchmarks

Turn page file off, use the computer, run benchmarks

I didn't feel any performance loss during general usage, gaming, photoshop, multi-tasking, etc etc. Benchmarks, before and after, back that claim up.
 
With 8GB of RAM, I can certainly believe that there's no loss in performance from disabling the pagefile; equally, though, I wouldn't expect performance gains from disabling it, though. As mentioned on the first page, it's useful for keeping unused but committed pages out of physical memory, and Windows doesn't generally go around deleting pages from RAM except very idle ones when you have sufficient memory, as some people suspect. 8GB is enough RAM for it not to make much difference either way at the moment, though.
 
Pagefile size tends to be 1.5x-2x the size of the amount of RAM you have, so I'd expect 12-16gb with 8Gb installed so it seems rather large in comparison to the "normal" rules.

I'm not sure why the rule of thumb is to increase the pagefile with the amount of RAM, it seems counterintuative, there's probably a good reason however. I expect under the worst circumstances it could consider your RAM full and needing to swap most of the RAM out for other data that would require a pagefile 2x the size of the ram, even though its less likely you'll fill it all when more is installed.
 
"EXPERIENCE. Go ahead, install 4GB of RAM into your system, and then remove the page file. Let's see how long you last. It'll be errors galore. Not benchmarks, I'm talking everyday usage/apps. I know because I actually tried it about 6 years ago, thinking logically: the hard drive is slower than the RAM. Why should I keep a paging file when I can tweak Windows to put the paging inside the RAM?"

I used to do this commonly and had people with the same machine ask me why mine was so much snappier. Of course, I had the stupid fancy elements of the GUI turned off as well. It worked perfectly fine. The only thing that it didn't work well with was Photoshop. The version I used at the time required a swap drive even to have the application load. I used to change the setting on the odd day when I was going to do PS work.

The thought on how it was quicker seemed to come down to me having lots of RAM and forcing the OS to use physical storage instead of spinning storage for the swap file was faster.

Of course, this might be different in Vista unless you have SuperFetch turned on. It needs all that swap space to pre-load applications so people don't realize that it is inherently slower.
 
I guess I don't really get the reason for even wanting to disable it. I realize that under XP the OS used to thrash the drives resizing the pagefile, which is why everyone set it to static, but Vista is better at memory management than XP ever was and I haven't noticed any pagefile thrashing. Hard drive space is cheap, so let the system do what it was designed to do and dump some unused pages to the HD, and use the RAM for useful stuff like Superfetch. Really, do you think you are getting a performance boost from disabling something that isn't normally used anyway?
 
Recently dropped my page files down to 16MB (the minimum allowed before disabling it completely). Disabled ReadyBoost and Superfetch. So far so good but we'll see. :D
 
I guess I don't really get the reason for even wanting to disable it. I realize that under XP the OS used to thrash the drives resizing the pagefile, which is why everyone set it to static, but Vista is better at memory management than XP ever was and I haven't noticed any pagefile thrashing. Hard drive space is cheap, so let the system do what it was designed to do and dump some unused pages to the HD, and use the RAM for useful stuff like Superfetch. Really, do you think you are getting a performance boost from disabling something that isn't normally used anyway?

If it isn't normally used why keep it on? I have noticed absolutly ZERO ill effects of having it disabled. I have 8GB and I'd rather have my physical memory used than even have 1MB of data needing to be accessed from the hard drive when it doesn't need to be. There was a comment a while back that the software designers are a lot smarter than we are, the same person that said that also said that he understood why we'd want to take these steps under XP... So, I guess when XP was around, the programmers weren't as smart as us and now they are??? I'm not trying to say that we're smarter, I certainly am not. Just pointing out the contradiction in that post.

The page file is there for compatibility and reliability so that most any system can run almost any program. Lets face it, not everyone has 8 or even 4GB of ram. Many people are running Vista with 1GB where you absolutly HAVE to have a page file. If you have enough physical memory you don't NEED it.
 
If it isn't normally used why keep it on? I have noticed absolutly ZERO ill effects of having it disabled. I have 8GB and I'd rather have my physical memory used than even have 1MB of data needing to be accessed from the hard drive when it doesn't need to be. There was a comment a while back that the software designers are a lot smarter than we are, the same person that said that also said that he understood why we'd want to take these steps under XP... So, I guess when XP was around, the programmers weren't as smart as us and now they are??? I'm not trying to say that we're smarter, I certainly am not. Just pointing out the contradiction in that post.

The page file is there for compatibility and reliability so that most any system can run almost any program. Lets face it, not everyone has 8 or even 4GB of ram. Many people are running Vista with 1GB where you absolutly HAVE to have a page file. If you have enough physical memory you don't NEED it.

It's certainly your call - it's your system and if you want to run without a pagefile then you certainly can. Personally, I don't see the need to try to out-think the Microsoft software engineers on this issue, they seem to think that a pagefile is a good idea, and I have plenty of hard drive space to spare, so I'm willing to give them the benefit of the doubt. I'd be curious to see some real benchmarks to see if it makes any difference or not (assuming you can really turn the pagefile off - which is another thing no one seems to know). I'm not trying to be argumentative, I just don't see the performance benefit from running without it on Vista - while there clearly was a benefit to running a static pagefile on XP.
 
There are tweak guides for many different types of software out there. Plenty of XP tweak guides, plenty of Vista guides and plenty of guides for games and other applications. When software is developed, ESPECIALLY when it's an OS, reliability and compatibility is a far larger priority than performance. The page file is not there for performance, it is there so Vista (or XP) can reliably run on a wide variety of hardware configurations. We're all tweakers and overclockers here. We all fine tune our system so it runs the best it can for our hardware configuration. I have 8GB of ram and disabling my page file is a tweak that allows me to gain that performance edge, regardless how of slight it may be. I have enough ram for this "tweak" not to give me any stability or reliability issues. I certainly won't lose any performance. The worst case would be that I maintain the same performance but gain drive space. Chances are though, that i am gaining some performance.

I can have literally a dozen applications opened, including VPC with an entire gig dedicated to it, I can run any game I want without closing any of these programs and be in the game for hours. When I exit the game, my desktop and icons are there instantly and any of the open programs I call on pop up as soon as I click the mouse button. I have yet to work on a machine that can do that without at least some drive thrashing when the page file is enabled.
 
On XP you can definitely turn the page-file off. I'm not sure why people are claiming its necessary. Obviously you want it on (the computer will crash as soon as the memory exceeds the RAM) but they let you try.

Also, Vista is not XP. The old XP tweaks do not necessarily work. Let Vista do its thing.
 
Back
Top