Solved

Swap file

Posted on 2002-06-06
9
213 Views
Last Modified: 2013-12-28
What is meant by a swap file, why and how does one check the swap file settings and what should the settings be?
0
Comment
Question by:frankoravec
9 Comments
 
LVL 59

Expert Comment

by:LeeTutor
ID: 7060149
Windows automatically manages program storage by using what is called Virtual Memory, which moves chunks of data and programs between disk and memory as needed.  The swap file is the part of the hard drive where virtual memory is swapped in and out.  To get to the settings page: click on the Start button, then Settings, then Control Panel; double click on the icon for System, click on the Performance tab, then click the Virtual Memory button. I think you should put a dot next to the option for Let Windows manage my virtual memory settings.  However, if you choose to set a certain size for the swap file yourself, then I have read that the best figure to use is about 3.5 times the amount of memory you have.
0
 
LVL 18

Expert Comment

by:Crash2100
ID: 7061088
If you have at least 256MB of ram, set the swap file to 300MB minimum and maximum.  If you have less than that, set it to 2.5 times the amount of ram you have.
0
 

Accepted Solution

by:
pvrnet earned 30 total points
ID: 7062425
Manually setting your swap file in Win98 has caused a lot of confusion for people over the years. Most people recommend setting the swap file to 2 to 2.5 times the amount of RAM you have in your system.  For people with low levels of RAM this may be true, but people with a lot of RAM this may not be the case.

For example, you have 64Megs of RAM.  According to the calculation above, you would set your swap file to approx. 128MB.

If you have 256 or 512 Megs of RAM, you would than set your swap file to 512 or 1 Gig.  

Now, you can see that there is a flaw to the logic in this calculation.  One would assume that machines with less RAM would need more swap file space and machines with lots of RAM would need less swap file space.  But as you can see this is not the case.  

But there is a way you can determine the amount of swap file space your machine may need.  One method can be found here:

http://www.bootdisk.com/swapfile.htm

Now be aware that if you do manually set up your virtual memory, you may run into a program (especially games or PhotoImaging apps) that may require more that what you set for your max setting.  If this is the case, you will usually get an error message and the machine may lock-up.  To fix this, up the max value of the swap file, or run the program following the steps outlined in the link given above to determine the amount of memory needed to run it properly.

Anyhow, I hope this helps.

0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 7065965
I think I agree with pvrnet on the size of swap file to set if you want to go that route.  I still think I would let Windows handle it.  However, if you feel that pvrnet has contributed the right answer to one of your several questions, you might consider this:

HOW TO SPLIT POINTS ON EXPERTS-EXCHANGE QUESTIONS
You can split points on questions, however you need the help of Community Support to do so. What you need to do is post a zero point question in the Community Support area by clicking on the link for Community Support near the top left of the Experts-Exchange web page, in the EE Community section.  In the question you need to reference this question number, who you wish to split the points among, and what point values to assign, then Community Support staff will do the rest, normally by reducing the original point value of this question to allow you to post new questions for the other experts.
These questions would be titled points for whomever and paste the question's  url in the comment block so the expert would know what it was about.

0
Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

 

Author Comment

by:frankoravec
ID: 7067112
Lee,
I keep looking for the question number to which you referred. I must be blind! Again, sorry for the delay. I have had some other problems.

"In the question
you need to reference this question number"
0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 7067192
The question number is at the tail end of the EE address for the question.
It is easier to highlight the entire address with your mouse and paste it
to the message.  Also, it is easier that way for people to link directly to the
original message.
0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 7067199
By the way.  If the swap file starts to give you fits, you can delete it and
start over.  Look at the last few lines here:

http://personal.cfw.com/~write/purgeall.txt

0
 
LVL 3

Expert Comment

by:pleasenospam
ID: 7067234
The future of the swap file:

The swap file is one of the components of virtual memory, which is created
"on the fly" as needed to keep the main processor running at full speed.

On the main frames the need for virtual memory disappeared when main memory cost
got down to the affordable range.  Somewhere in there the operating system had
migrated from "Tape Operating System" to "Disk Operating System" to just "Operating System":

TOS --> DOS --> OS

So, DOS for the personal computers was actually a step BACK to previous
computer architecture.  Now, as main memory costs drop for personal computers,
there is a steady migration away from DOS and the need for a SWAP FILE will go away.
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7068029
frankoravec

I reduced the points of this question. Please accept pvrnet's comemnt as an answer , I will post a separate question for Lee Tutor.

** Mindphaser - Community Support Moderator **
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For a variety of reasons, it sometimes makes sense to reboot a Windows-based computer on a regular, perhaps daily basis. This "cures" a lot of ills by resetting processes, flushing caches, refreshing memory, and reestablish network connections. In a…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now