pagefile.sys = 1.5GB and hiberfil.sys = 1GB
OS: XP sp2
Call me crazy, but I don't think these files are supposed to be that large. Is there a way I can remedy this problem? |
pagefile: control panel/system properties/advanced/Performance-settings/Advanced/Virtual Memories - change
remember that you need your pagefile. I keep mine at 1 Gig, and I believe that there's some minimum default that XP needs to run well. Probably around 512 MB. your hybernation file will be a bit larger than the amount of ram you have in your machine. This cannot be changed (I don't think), since XP dumps all your physical RAM onto disk when it goes to hybernation mode. |
Yeah, sounds about right. Like fckm said, the pagefile is like virtual ram, and is usually a good bit larger than your total RAM size. If you have a gig or more, you can decrease its size (I do, down to 512MB), but I wouldnt do it for anything less than 1 gig of RAM. I dont know of any way to change the hibernation filesize.
To change the pagefile size, go into System Properties >> Advanced >> Performance Options >> Advanced >> Virtual Memory >> Change. There is a place in there to set the min and max values. |
Pagefile as recommended my MS, should be either on a different partition or a totally different drive.
It should be about 2x your RAM size. Remember to hit SET to make the change and DON'T do like a guy I worked with and clear the C: pagefile and reboot without first SETtin a new one on D:. XP don't work too well without a pagefile. P.I.T.A to go through the recovery console panel etc. |
Hibernation size is what's required for an image of RAM. The only way to be certain it's available is to pre-allocate the full amount.
Sailor's right about pagefile size. Happy default size is 1.5xRAM but that gets silly if you're at 1GB or more. Unless you know you need that much, shrink it, and disable OS paging. Keeping drivers and OS in RAM really help make desktop operations snappier. (Set HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Memory Management/DisablePagingExecutive = 1) Keep an eye on it though. If you remove RAM or install something hungry that causes your system to need paging, it will start throwing faults. This can be a problem if it happens while booting. The only fix is to boot in safe mode and set DisablePagingExecutive back to 0 (zero). |
Quote:
Good point about the separate drive. A different partition on the same drive with Windows isn't good. It guarantees bad access times. But a partition on a separate drive/array guarantees access 2nd only to RAM. |
i have a 4 gig page file, and 1.5 gigs of memory. it is usualy set to 1.5 times your physical memory, turn off hybernation, i've never got hypbernation to function well, i would not trust it.
|
Just an FYI - I was talking to a guy who worked for Microsoft about the swap file and gaming, and he told me something interesting: If you have at least 1 Gig of RAM, you can turn off the swap file entirely on XP. His said that the OS had a propensity to push as much memory info as possible into the swap file, leaving as much RAM as possible free at all times. So, by turning off the page file entirely, you can have a system that runs much faster, since there's no paging done at all. Now, by turning off, you have to go through the advanced properties thing, and set the "no paging file" option, DON"T just delete the file...
I've been trying it with a laptop with a Gb of RAM, and it runs fine with no swap file at all. Now, I use this laptop for high performance gaming (BF:V, HL2), so squeezing out the maximum amount of performance is important. Just rememeber to keep an eye on the total/available levels in the task manager when you do this. |
Quote:
|
can it be fully disables with win2k?
|
Guys, don't disable it. Sparse allocations will waste active memory. Just set a minimal (100-500MB) file & set DisablePagingExecutive so the system doen't page things out unnecessarily.
|
Sent through the settings to remove the files.
Heh.. I appear to be running fairly well without a page file. I have a gig of ram. |
Don't know about win2k, never tried it. The one thing I have found out is that if you do this, adobe photoshop stops working. It apparently REQUIRES a swap file to operate. Also, Macromedia fireworks will work, but it's a hog and a half.
|
Sorry. My bad. The guy I spoke of did it with Win2k and definitely not 1gig of ram.
It wouldn't boot. |
Disabling VM is generally bad.
Photoshop and many other memory intensive programs use sparse allocation. They reserve large maps of work memory before they actually need it, and often never use much of it. If you disable VM you force these large virtual ranges to be mapped to real memory and everything grinds to a halt. The system will be great and then brain-freeze, especially if a system dependency can't be fulfilled because everything is reserved. If you have 512MB or more, reserve at least a couple hundred MB or whatever disk space you're comfortable with & set DisablePagingExecutive = 1. Applications will continue to use VM but the system & drivers won't get paged out. It makes a big difference at the desktop and when switching beteen apps. Works for 2k & XP |
yes please dont follow the the 2x ram size rule, this was told to new comp owners back in the day when the average ram was 256 or less
|
Guys - did a bit of a test last night. I have 2Gb of memory, so set mine to be 256Mb (min and max size).
I played Neverwinter Nights for a couple of hours last night and had a "low virtual memory" warning message when I exited. No crash though. I have this morning set the DisablePagingExecutive to 1 - and will let you know when I run the game later how it goes. |
There is no perfect configuration that satisfies every system and purpose. If I'm just running one game and its performance is paramount (say Lanparty for the night) I'd disable VM entirely. However, if it's a multi-purpose system then VM is needed for apps that require it.
DisablePagingExecutive just tells the system not to page out its structures when hungry or numerous apps make requests we might consider less important. Ideally you could set an "Apps,BeNiceDamnit" flag, but all we have is a "System,Don'tLetAppsBullyYou" flag. Not perfect, but it's generally better when switching around between tasks. |
All times are GMT -8. The time now is 04:00 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project