Tech Support Guy banner
Status
Not open for further replies.
1 - 8 of 8 Posts

· Registered
Joined
·
77 Posts
Discussion Starter · #1 ·
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...
 

· Registered
Joined
·
1,527 Posts
Same thing, it may also be refered to as "Swap File".
 

· Registered
Joined
·
77 Posts
Discussion Starter · #4 ·
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
 

· Registered
Joined
·
77 Posts
Discussion Starter · #5 ·

· Gone but never forgotten
Joined
·
9,283 Posts
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.
 

· Registered
Joined
·
77 Posts
Discussion Starter · #7 ·
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.
 

· Registered
Joined
·
3,476 Posts
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).
 
1 - 8 of 8 Posts
Status
Not open for further replies.
Top