Here's a good way to determine the size of the swap file. It is individual for each machine, depending on the demands of your programs, and how you use your system.
1.) Load the System Monitor. This can be found in Add/Remove Programs,/Windows Setup/System Tools. Select a graph of "Allocated memory" under Edit/Add Item/Memory Manager. Afterwards, this will located under Accessories/System Tools. How you prefer to "View" the graph is your choice.
Note: Windows Setup may require the used of the Windows CD to load the program components. Or you can browse to a folder that contains your CAB files.
Load all the programs that you normally use, concurrently. Make a note of the maxiumum values shown in the graph. Next, running the system for several days, again taking note of the maximum values listed in the graph during normal use.
The largest number displayed in the graph should be used to determine the minimum setting of the swap file. I normally suggest adding 50 to that number, so that the user will never run out of memory.
2.) Next ... place the swap file on the fastest hard drive or partition. If you have two hard drives, similiar in speed, the best placement is normally the first partition on the slaved drive. Moving the swap file file will speed up system performance when page misses occur, that is, when the physical RAM is insufficient.
3.) To reduce paging, it's best for the swap file values to be the same for the minimum and maximum numbers.
<font color=green>"also, why is this not the default in windows?"</font color=green>
Systems can have different amounts of RAM installed, and of course, the program installation can vary greatly. Windows <i>does</i> have a default setting for the swap file, which is to allocate the virtual memory as needed. However, most users have found that performance <i>and</i> stability increase by manually setting the values, not to mention reducing paging, which can be irritating at best. This is basically because older versions of Windows have poor memory management.
I'd also suggest that you read over this <A HREF="
http://forumz.tomshardware.com/hardware/modules.php?nam..." target="_new">post</A>, especially since you have 512MB of RAM installed. If you have any other questions on the subject, don't hesitate to ask!
Toejam31
<font color=red>My Rig:</font color=red> <A HREF="
http://www.anandtech.com/mysystemrig.html?rigid=6847" target="_new"><font color=green>Toejam31's Tantalizing Tantric Toy</font color=green></A>
____________________________________________________________
<font color=purple>"Procrastination on your part does not constitute an emergency on my part."</font color=purple>