How many apps do you run at once?
How hungry are the apps you run?
How often do you re-start the computer (refresh you're memory).
Right now my Resourse meter is at 87% / 87% / 90% and on the system monitor I have approx 130MB unused memory and a 40MB unused swap file.
I think Windows assigns one anyway, just in case.
Try it. If it doesn't work, you can always re-enable it.
The argument is, if Windows doesn't spend its time re-sizing the swapfile it gets on with other stuff. The down side to this is if you don't allocate enough space, things really slow down and sometimes stop.
I've a game which recommends a minimum of 128MB RAM and 500MB of free disk space for swapfile. If you're running games, I'd leave it alone.
"Now drop your weapons or I'll kill him with this deadly jelly baby." :wink:
July 29, 2001 1:49:28 PM
you should NEVER turn off virtual memory in win 98/me. many applications wont run unless there is a swapfile available. a better approach would be to limit windows use of the swap file. check this out:
First, right-click on "My Computer" and select Properties. Now, select the Performance tab and then click the Virtual Memory button. Select "Let me specify my own virtual memory settings." The amount of total memory (physical memory + virtual memory) we want is about 512MB, so do a little math. For example, if you have 128MB of RAM, you want 384MB of virtual memory. After you calculate how much virtual memory you need (512 - your total physical RAM), enter this number in both the "Minimum" and "Maximum" boxes. Click OK, and Windows will give you a warning that it's not in control of the virtual memory anymore. The computer will also want to restart for the changes to take effect. Don't do that yet, as there's one more step.
Now we will tell Windows to use all the available physical RAM BEFORE it starts using the virtual memory. This will keep the hard drive from being accessed so often. To make this setting, click the Start button and select Run. Type "sysedit" (no quotes) and press enter. This will bring up five files; the one we're interested in is SYSTEM.INI, so select it. In this file, you'll find a section that starts with [386Enh]. (There are all sorts of entries under this heading that say things like "device=*vcd.") At the bottom of this section (before the next set of brackets), enter this statement (no quotes): "ConservativeSwapfileUsage=1". This turns the conservative swap file usage on, meaning that Windows will only use the virtual memory (i.e., access your hard drive) when it's out of physical RAM.
Save this change, close the System Configuration Editor, reboot your system
Now you're rockin!!!!! Keep this little hack to yourself! (ha ha).
yep, I'll agree with that too, it does give a decent performance boost.
Also, you mention some apps not working with the swap file diabled, could you give an example please? (I know someone who turned it off, I said it was a bad idea but it seemed to run ok)
This sounds interesting.
But is it necessary if you have 512Mb of RAM?
<font color=green>I miss the smell of leaded gasoline!</font color=green>
July 30, 2001 7:54:58 PM
heh, somebody always asks that. back in the day when i was working on figuring this stuff out (98 swap file) to improve my game performance, it was pretty rare to have 256 mb of ram, let alone 512. i mean, i had 256 and my buddies did as well, but we didnt have 512, and nobody i knew did either. however, in your situation I would say that given the conservative swap file addition to the system.ini, you will almost certainly never access you swap file anyway if you have 512 mb of ram. still, you should have something there for those legacy apps that stubbornly refuse to accept that ram is so cheap and wont run without checking on your swap file. Plus, hdd are so cheap, i know you can spare 100 mb or so. set the min and max to 100 mb or somewhere around there.
ignore everything i say
July 30, 2001 8:00:36 PM
calv, i cant make my poor, tired brain come up with any examples of apps that require a swap file to run. When learning this stuff a couple years ago and experimenting with different values and stuff, i know i ran into some games and other programs that wouldnt run without a swap file. It may be that subsequent windows updates, or better program coding has reduced the number of these on the market, but you advice against disabling the swap file is still totally valid. There is no need to be that daring. windows is finicky enough without asking for trouble by diabling virtual memory! I can see how people would do that though, if they didnt know how to hack the system.ini file. all that disk accessing is seriously irritating!!!!
Thanks for the reply, aparantly the system with the swapfile disabled runs like a dream (makes you wonder if its readly win98!!) so I suppose if he's happoy, then fine, as always different configs/hardware/apps etc just make it so hard to compare and say whats "right" and "wrong". I want the system to fall over - not in a nasty way but he asked my opinion and then ignored me lol.
Next time you wave - use all your fingers
July 31, 2001 3:16:02 PM
yeah, i hate when you give advice and then they not only ignore you but everything runs well for them! Why is it that guys who take every precaution and do things by the book always have to come here to get help with our nightmare systems and these hacks who completely disregard tradition seem to go happily along there way? WTF!?!
Plus, stuff like that always irks me cause the other guy invariably walks away going...'gee, he doesnt know what hes talkin about' cause it works when i said it was dangerous. I once told a guy some app couldnt be downloaded (for whatever silly reason), and to prove it i sent him a link to the manufactuers web site. turns out, that the manufacturer had made a demo version available to the public like the day before and it said so right on the first paragraph of the link i sent him! jesus, i never lived that down.......
If you still want to ensure the use of Virtual Memory in case of apps needing it but also want the benefit of added speed you could do:
1. The already recommended fixing the Min/Max size.
2. OR, create a small 250Mb (or whatever you choose) drive partition specifically set aside for the virtual ram. Mandrake Linux did this automatically on my Linux Partition (dual boot machine)
I did step 2 and don't have any problems. You will get a message saying that the drive space is full. Maybe setting the virtual memory to slightly smaller than the partition size would fix this. (I just haven't gotten around to trying this)
Catheter and Caffeine IV are in place. Let's PLAY.