Ok, there is a lot of misinformation here.
- Windows 9x (including Windows ME) does not have a 512 MB barrier. It has no problem addressing RAM over 512 MB. It does have issues with such systems however. This is due to a bug in Windows 9x’s Vcache, which Microsoft has not bothered to fix.
You can work around this by restricting MaxFileCache to 512 MB (This would give you 512 MB for file cache + the rest of your RAM for applications.)
Note: Windows 9x does not play well with RAM over 1 GB. See: Computer May Reboot Continuously with More Than 1.5 GB of RAM
2) Putting your swapfile on a ramdrive has no benefit. If Windows 9x really did have a 512 MB barrier AND you could find a ramdisk driver that would sit in highest portion of memory, you might see some benefit from a ramdrive. But even then it’s doubtful.
As Jake4 pointed out, you most likely do not even need a swapfile. You may be confusing “swapfile” with “file cache”. It’s the latter which will steal all available RAM whenever possible.
The swapfile is used whenever there is not enough memory for applications. The file cache is dynamic, and will (should) shrink if applications need more memory.
Note: With Windows 2000 or higher (maybe NT also) you MUST have a swapfile of at least 1.5x main memory. This is not because you really need it, but because 2000 doesn’t like it if you don’t. Microsoft claims that too small swapfiles on large RAM systems can lead to corrupted profiles, and I have seem flaky systems act less flaky with a proper-size swapfile (although I’m pretty sure it’s more expectation than observation).