swap space vs virtual memory?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

tinman4130

Thread Starter
Joined
Feb 9, 2004
Messages
71
I hope this is in the right forum....

Can someone please explain ,in terms a newbie can understand, the difference between swap space and virtual memory?

Thanks...
 

tinman4130

Thread Starter
Joined
Feb 9, 2004
Messages
71
LONGHAIR said:
Same thing, it may also be refered to as "Swap File".[/QUOTE

Now those little fragments of information floating around in my mind make sense. Thanks for the quick reply.

Tinman
 

WhitPhil

Gone but never forgotten
Trusted Advisor
Joined
Oct 4, 2000
Messages
8,684
LONGHAIR said:
Same thing, it may also be refered to as "Swap File".
In reality, that isn't true although almost every web site and forum use the words interchangeably.

Simplistically, Virtual memory is the concept that allows Windows to run a program, and allow that program to believe that it has access to 4GBs of memory (2 each of ram and swap). All Windows programs run from this virtual model even if the swapfile is not required.
(see etaf's link above)

The Swap File itself, is what allows this concept to actually be implemented.
 

tinman4130

Thread Starter
Joined
Feb 9, 2004
Messages
71
Thanks WhitPhil-- I thought I now understood the concept, so I went into the aida32 utility to use my newfound knowledge and got confused again.
I've enclosed part of a report from the utility. Can anyone explain what the numbers mean?
Physical memory:
Total 255 MB
Used 254 MB
Free 0 MB
Utilization 100%


Swap space:
Total 1792 MB
Used 190 MB
Free 1602 MB
Utilization 11 %

Virtual memory:
Total 2047 MB
Used 444 MB
Free 1603 MB
Utilization 22 %

If the Virtual memory is the area set aside on the hard disk for page swapping, does the 100% utilization of the 255 MB of RAM mean that the Physical memory is "overfull" by the amount of "Used" Virtual memory?
And why is the Swap space larger than the Physical memory which,as I understand it, it was meant to serve?
Obviously, I'm missing something here. Is there anyone willing to try to point me in the right direction?
Thanks.
 
Joined
Jun 15, 2002
Messages
3,337
The "virtual memory" that Aida refers to is actually TOTAL memory (physical RAM + virtual memory). Thus: 1792 MB swap file + 255 MB Ram = 2047 MB.

Onca all your physical RAM is in use, Windows then begins to utilize the swap file. In this case, all your RAM is in use, plus another 190MB in your swap file.

The swap file is larger than the physicaal RAM for a very simple reason; it gives Windows much more space in which to load programs and data. Take a hypothetical case... Windows 95 running on only 8 MB of RAM (this was actually the case when I got my first Win 95 system). With only 8 MB RAM, Windows can barely load...without virtual memory, you would be able to run NO programs (in my case it was so extreme that merely moving the mouse would cause the hard drive light to come on!) By using the swap file, Windows is able to load and run programs that simply won't fit into your physical RAM. On the machine I'm using as an illustration, I actually did a lot of graphics work (a very RAM-intensive operation)...it was slow, but it got the job done (needless to say, I added more RAM as soon as possible).
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top