"Windows is increasing the size of Virtual Memory" - Why???

T

Tony

I'm occasionally getting messages in WinXP Pro that Windows is increasing the size of
virtual memory... but my system has 2Gig of RAM, and every time I get this message I see
that I have about 1.3Gig of RAM available (according to Sysinternals Process Explorer).

Isn't WinXP supposed to use up my RAM before going to the swap file? Why get this
message when so much RAM is available?

Tony
 
R

Robert Moir

Tony said:
I'm occasionally getting messages in WinXP Pro that Windows is
increasing the size of virtual memory... but my system has 2Gig of
RAM, and every time I get this message I see that I have about 1.3Gig
of RAM available (according to Sysinternals Process Explorer).

Isn't WinXP supposed to use up my RAM before going to the swap file?
No.

Why get this message when so much RAM is available?

Because a program running on your system has asked for a lot of space to be
reserved.
 
V

Victor


It's my understanding that if WinXP has 2G or more RAM, then RAM is used as
part of the swap file to to make Windows run much more efficiently.

There's also a registry tweak somewhere that allows more RAM to be used as
swap file if you have less than 2G.

RAM can be used as the entire swap file if you disable Virtual memory, but
it's not recommended unless you know what you are doing. You need to track
your RAM and swap file usage with a monitor program. If peak RAM used plus
peak swap file usage never goes above 80% of your total RAM, you can then
disable virtual memory.

Also, a program like CacheMan can be used to tweak your RAM vs. sawp file
usage:

http://www.outertech.com/

Because a program running on your system has asked for a lot of space to
be reserved.

Not necessarily.
 
R

Robert Moir

Victor said:
...

It's my understanding that if WinXP has 2G or more RAM, then RAM is
used as part of the swap file to to make Windows run much more
efficiently.

That makes no sense. Unless you mean creating a ramdisk, which makes no
sense for the swapfile for very different reasons.
There's also a registry tweak somewhere that allows more RAM to be
used as swap file if you have less than 2G.

I doubt it.
RAM can be used as the entire swap file if you disable Virtual
memory, but it's not recommended unless you know what you are doing.

I don't know who told you this but they have a very fundemental
misunderstanding of how virtual memory and swap files work.
 
V

Victor

That makes no sense.

No, it makes perfect sense.

If you are not swapping out RAM to disk as often, it speeds up Windows. It
makes perfect sense because RAM is faster than disk.
Unless you mean creating a ramdisk, which makes no sense for the swapfile
for very different reasons.

No, you have a a fundamental misunderstanding of how virtual memory works.

Here is a direct quote from kb308417:
"When your computer is running low on RAM, and you must have more RAM
immediately, Windows uses hard disk space to simulate RAM. This is known as
virtual memory."

I doubt it.


I don't know who told you this but they have a very fundemental
misunderstanding of how virtual memory and swap files work.

O.K., so if you have 2G of RAM and you disable virtual memory, how does
Windows XP operate with lots of RAM and no swap file?
 
J

James Egan

No, it makes perfect sense.

If you are not swapping out RAM to disk as often, it speeds up Windows. It
makes perfect sense because RAM is faster than disk.


It doesn't make sense to swap ram out to ram. What is the purpose of
such a swap?


Jim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top