Virtual memory question

J

JS

I have noticed some sluggishness in my Wxp SP2 lately and even got a msg
saying something about the virtual memory being too low. My paging size is
initial size is 144, and max is 288, with currently allocated is 411.
Is there a general rule of thumb as to how much this should be increased, if
at all? Will this help with the sluggishness?
Thanks,
JS
 
R

RJK

If you have oodles of room onthe drive where your swapfile is loacted, set
it to "System managed" size.

Control Panel | system | Advanced, tab | Performance settings button |
Advanced, tab | Virtual Mmeory "Change" button | System nmanaged sieze,
radio button | Set, button | OKyour way out and reboot. :)

After a full / critical / TESTED back up, and check disk, you might want to
do a boot-time hard-disk defragmentaion with something like Diskeeper.

regards, Richard
 
R

RJK

....more typos ! :)

....typos !

If you have oodles of room on the drive where your swapfile is located, set
it to "System managed" size.

Control Panel | System | Advanced, tab | Performance settings button |
Advanced, tab | Virtual Memory "Change" button | System managed size,
radio button | Set, button | OKyour way out and reboot. :)

After a full / critical / TESTED back up, and check disk, you might want
to do a boot-time hard-disk defragmentaion with something like Diskeeper.

regards, Richard
 
J

John Barnett MVP

Have you given your hard drive a good clean up, checking for spyware/malware
and viruses? If not then first run your anti virus application. Next
download Ad-Aware (www.lavasoft.com) also download Spybot search and destroy
(www.safer-networking.org) Incidentally both ad-aware and spybot are free.
Run these and see if they come up with anything - well chances are they
will.
Next download CCleaner (www.ccleaner.com) (again free) and run this. This
will remove temproary internet files, history, cookies and a host of other
files that can bog down the system.
After completing all of this defragment the hard drive.
As to virtual memory, this is an area of the hard drive which is reserved
for swapping files between the memory and the hard drive in an effort to
increase performance. It doesn't really matter if you have 2GB of memory
Windows will still use the virtual memory swap file. Okay maybe not as much
as it would with a lower memory ratio, but it will still use it.
The normal rule of thumb is 1.5 times your physical memory. So if you have
128MB of memory the virtual memory should be 128+64=192MB If you have 256MB
of memory then the virtual memory should be 256+128=384 and so on.
If you are getting virtual memory too low messages Windows will normal
adjust the setting accordingly

To adjust the virtual memory proceed as follows:
Adjusting virtual memory is quite easy actually...

1. Go to Control Panel and click the System icon
2. In System properties click the Advanced tab
3. Under the performance section click the "Settings" button
4. In the settings window click the Advanced tab
5. In the advanced tab window click "Change" under the virtual
memory area.
6. In the virtual memory window first click the drive you want
to adjust then click the Custom option under 'paging file size for selected
drive
7. In the Initial size (MB) window type your initial physical
memeory, i.e., 128 or 265 etc
8. In the maximum size box type the physical memory times 1.5
(following the above formula)
9. finally click OK to exit


--
John Barnett MVP
Associate Expert
http://xphelpandsupport.mvps.org

The information in this post is supplied "as is". No warranty of
any kind, either expressed or implied, is made in relation to the accuracy,
reliability or content of this post. The Author shall not be liable for any
direct, indirect, incidental or consequential damages arising out of the use
of, or inability to use, information or opinions expressed in this post..
 
F

Frank

JS said:
I have noticed some sluggishness in my Wxp SP2 lately and even got
a msg saying something about the virtual memory being too low. My
paging size is initial size is 144, and max is 288, with currently
allocated is 411. Is there a general rule of thumb as to how much
this should be
increased, if at all? Will this help with the sluggishness?
Thanks,
JS

On the settings page, there will be a recommended figure towards the
bottom.
 
R

Ron Martell

John Barnett MVP said:
7. In the Initial size (MB) window type your initial physical
memeory, i.e., 128 or 265 etc
8. In the maximum size box type the physical memory times 1.5
(following the above formula)

Those settings are totally incorrect.

Virtual memory page file requirements are *inversely* related to the
amount of physical RAM. More RAM means less page file and less RAM
means more page file, if all other factors (progam and file use)
remain constant.


Ron Martell Duncan B.C. Canada
--
Microsoft MVP (1997 - 2006)
On-Line Help Computer Service
http://onlinehelp.bc.ca

"Anyone who thinks that they are too small to make a difference
has never been in bed with a mosquito."
 
J

John Barnett MVP

If they are incorrect Ron, then there are hundreds, if not thousands of
people using them.

--
John Barnett MVP
Associate Expert
http://xphelpandsupport.mvps.org

The information in this post is supplied "as is". No warranty of any kind,
either expressed or implied, is made in relation to the accuracy,
reliability or content of this post. The Author shall not be liable for any
direct, indirect, incidental or consequential damages arising out of the use
of, or inability to use, information or opinions expressed in this post..
 
K

Ken Blake, MVP

John said:
If they are incorrect Ron, then there are hundreds, if not thousands
of people using them.


I believe it was Anatole France who observed that "If fifty million people
say a foolish thing, it is still a foolish
thing."
 
D

djs0302

JS said:
I have noticed some sluggishness in my Wxp SP2 lately and even got a msg
saying something about the virtual memory being too low. My paging size is
initial size is 144, and max is 288, with currently allocated is 411.
Is there a general rule of thumb as to how much this should be increased, if
at all? Will this help with the sluggishness?
Thanks,
JS


It all depends on how you use the computer. If your page file is
already allocating 411 MB then I would set the initial size for at
least that amount. I usually only have one program running at a time
so my page file usually stays around 100 MB. It jumps to over 200 when
I play certain games though. I have the initial size set at 256 MB and
the maximum size set at 1536 MB. Windows originally set my initial
page file size at 768 MB but since the page file usage never went that
high I lowered it to 256 MB and regained the space on my hard drive.
Like I said, everyone's situation is different. There is no magic
formula for optimal page file settings. You just need to find what
works best for you.
 
R

RJK

A few years ago I read, I think it was on Jim Eshelmans website
http://www.aumha.org , that if you have 2nd hd, and plenty of room
everywhere, an optimum paging file configuration is to set a small fixed
size 60mb swapfile on your windows boot-drive and a "system managed" (big)
one on the first drive of your 2nd hd. I've done that ever since. ...and
of course defrag'em with a boot-time defragger such as Diskeeper.

regards, Richard
 

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