I just noticed in the other memory related thread that I wasn't explicit enough, so here we go;
Do NOT set your virtual memory size to 2048 or greater. Make sure the total amount of real ram and virtual ram do not exceed 2048. This can cause all sorts of odd problems, including the rather ironic "not enough memory" error message. (Obviously if you are running windows server 2003 (4096 meg limit) or the 64bit edition of XP (16 terabyte limit) with an opteron this does not apply, but for everyone else it sure does)
In other words, if you have 512 megs of ram going up to 1536 is just fine, if you have 1 gig of ram don’t exceed 1024, etc...
While I'm at it, the old 1.5 times you ram for the virtual space was advice from the Windows 95 days, and is quite irrelevant with XP or windows 2000.
As was pointed out above, creating a partition for the sole purpose of the virtual swap file is a fine idea, but far beyond easy for most folks. The goal is to make sure your 1gig block of virtual memory is contiguous, instead of scattered all over the drive (fragged), and the next goal is to make sure it is as close to the outer edge of the drive as possible where access to the fake ram is fastest. This can be done using a tool, such as Partition Magic, but messing with partitions is not something I suggest for most people, if you screw up you'll more then likely be reformatting the hard drive.
If you really want to have a well running drive without the chance of destroying all your data, I suggest buying a nice defragging tool (the built in windows tool is feeble), in my experience the past couple decades, Perfectdisk (from Raxco) is a great tool for this, it runs about $40 though.
Good luck