Swap begone!
I upgraded to 1Gb of RAM. I have WinXP Home and a 1.1GHz Duron. I don't want a swap file, for performance, so I changed my swap file to 0Mb in My Computer. And at My computer/Advanced/Performance Settings/Advanced/Virtual Memory, the total paging file size says zero megabytes.
In regedit I navigated to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management, and changed DisablePagingExecutive to 1.
But in the FreeMeter system monitor it says I'm using about 300Mb of RAM and still about 200Mb of page file.
What is happening? Is there another program to confirm the swap file is zero?
Glenn
Answer:
FreeMeter may be telling you about data that Windows wants to swap out, but can't, or something - you can't really disable virtual memory on WinXP, only stop it from working properly.
It doesn't really matter, though, because you shouldn't be doing this in the first place.
It is not generally a good idea to try to run WinXP without a swap file. It's possible, but many programs (not to mention a bunch of default XP services) assume the swap file to be available, and may fail in ugly ways if it's not there.
Often, in particular, a program will request much more memory than it's actually likely to need, assuming that this is no big deal because it'll just get a chunk of swap file allocated to it and only use as much physical memory as it really turns out to need. With no swap file, though, every program that asks for 512Mb because it might possibly need it if you open 50 documents will get its own 512Mb inviolable slice of your precious physical RAM, which nothing else will be allowed to use.
Fortunately, generally speaking, the swap file does not actually slow Windows XP (and later) down. Heck, it didn't even really slow Win95/98 down that much. It's not having enough physical RAM that slows Windows down.
Windows can actually run faster with a swap file, because it uses it to unload seldom-used components to free up physical RAM that it can then use for, for instance, disk caching. WinXP's virtual memory management is actually quite smart.
With only a gigabyte of memory, you're not going to be able to run many apps at once without a swap file. The OS itself, even with System Restore and so forth turned off to avoid dire where's-the-swap errors, will eat a lot of your RAM.
Swapless XP is more feasible if you've got more than 2Gb of RAM, and it can be handy for specialised setups. Business boxes that boot from Flash disks that can't handle a lot of write cycles, for instance. Such computers are unlikely to suddenly be used for 3D games and video editing, so a hard ceiling on their memory isn't too dangerous.
For general purpose computing, though, swapless XP still a waste of time.
XP will never be blazing fast on your computer, but it'll run more than fast enough for most purposes as long as you've got enough physical RAM. If you're short of physical RAM, the only solution is to buy more of the stuff.
If you want to get tricky about it, then you can put your swap file - or your whole Windows install - on a RAM-based device, like a Gigabyte i-RAM card. That can let you wring out a bit more performance. It's goofy to do that with a computer that's worth less than an i-RAM with a couple of gigabytes on it, though, and there's close to no point to doing it at all if you haven't already installed at least the magic 3Gb of RAM on your motherboard.
http://www.dansdata.com/io072.htm