Virtual memory limit

  • Thread starter Thread starter Philippe Demers
  • Start date Start date
P

Philippe Demers

What is the proceedure, if any, for adjusting VM limit.
I have run into this limit on several occasions and
the warning is for some process to triger an error.
Phil
 
Right click on "My Computer" and select "Properties". From the System
Properties window that should now be displayed, select the "Advanced" tab.
On the "Advanced" tab, there is a "Performance Options..." button - click
it. This will display the Performance Options dialog and it has a Virtual
Memory section that lists your current virtual memory limit. To increase
the value listed, click the "Change" button. This will bring up the Virtual
Memory dialog and you can change your virtual memory settings on this page.

HTH.
 
Procedure?
¯¯¯¯¯¯¯¯¯
Virtual Memory Outline

*Use the Applet in Control Panel, not under My Computer (but can use to check or
change when all is well)

*If you get a Low Virtual Memory, rule of thumb is 2.5 times RAM(Set both same to
prevent fragmentation)


Microsoft's numbers::
Min. = RAM+32meg
Max.= 4095meg (work around to add more)


=============
Rebuilding Virtual Memory::
Start >Settings >Control Panel > System >Advanced[tab] > Peformance Options
Change...
Set Initial and Max to "0"(zero), Ok out, Restart
Go to Change... again, enter 2x or 2.5x in both places, OK out, Restart
Run a Defrag, and a chkdsk /v (Run... >"type" cmd /k chkdsk /v <enter> (shouldn't
take long) "type" exit<enter>
=============


=============
Rebuilding broken pagefile.sys:
Check for a temporary temppf.sys (temporary pagefile); do a search. Note the size
is 20 meg, and location.
Check for pagefile.sys do a search(probably under %SystemRoot%, usually C:\ ). If
you find one delete it.
Pooter may complain about exceeding Recycle Bin limit... (just click OK or Yes)

To build a new pagefile.sys, NTAUTHORITY/system must have full control of the
drive you intend to use. We will use %SystemRoot%
First add "SYSTEM" as a user with full control:
Start >Settings >Control Panel > Administrative Tools > Logical Drive >d/c Logical
Iin right pane >Security[tab] >Advanced[button] >Add...[button] >d/c SYSTEM >
Add... > check all to allow >OK out >Restart to take effect.
Start >Run >"type" regedt32, enter > click on HKLM >d/c System >d/c
CurrentControlSet >d/c Control >d/c Session Manager > click Memory Manager >in the
right pane d/c PagingFile... >enter numbers in megs for both locations leaving a
space between the (left is initial and right is max)
(Example: C:\pagefile.sys 1024 1024)(that would be for 512 meg RAM located under
the %SystemRoot%)
OK out >close registry >Restart to take effect.
Check the Paging File>>> Right click My Computer > Properties > click
Advanced[tab] > Performance Options(notice Paging File Size all drives) >Change...
look at the size of both & cancel all the way out.

*Note: Don't worry about SYSTEM having control. If you use protection with a
firewall (hardware or software) set correctly it's very difficult to penetrate.
This should be all you need to get a new pagefile.sys.
=============

*Note = I recently had to rebuild V.M. on one box several times, and thought it
was a hack, but couldn't locate any.


good computing,
don
--------------






What is the proceedure, if any, for adjusting VM limit.
I have run into this limit on several occasions and
the warning is for some process to triger an error.
Phil
 
You will need to be in Administrator group to Edit the registry...

good computing,
don
--------------------




Procedure?
¯¯¯¯¯¯¯¯¯
Virtual Memory Outline

*Use the Applet in Control Panel, not under My Computer (but can use to check or
change when all is well)

*If you get a Low Virtual Memory, rule of thumb is 2.5 times RAM(Set both same to
prevent fragmentation)


Microsoft's numbers::
Min. = RAM+32meg
Max.= 4095meg (work around to add more)


=============
Rebuilding Virtual Memory::
Start >Settings >Control Panel > System >Advanced[tab] > Peformance Options
Change...
Set Initial and Max to "0"(zero), Ok out, Restart
Go to Change... again, enter 2x or 2.5x in both places, OK out, Restart
Run a Defrag, and a chkdsk /v (Run... >"type" cmd /k chkdsk /v <enter> (shouldn't
take long) "type" exit<enter>
=============


=============
Rebuilding broken pagefile.sys:
Check for a temporary temppf.sys (temporary pagefile); do a search. Note the size
is 20 meg, and location.
Check for pagefile.sys do a search(probably under %SystemRoot%, usually C:\ ). If
you find one delete it.
Pooter may complain about exceeding Recycle Bin limit... (just click OK or Yes)

To build a new pagefile.sys, NTAUTHORITY/system must have full control of the
drive you intend to use. We will use %SystemRoot%
First add "SYSTEM" as a user with full control:
Start >Settings >Control Panel > Administrative Tools > Logical Drive >d/c Logical
Iin right pane >Security[tab] >Advanced[button] >Add...[button] >d/c SYSTEM >
Add... > check all to allow >OK out >Restart to take effect.
Start >Run >"type" regedt32, enter > click on HKLM >d/c System >d/c
CurrentControlSet >d/c Control >d/c Session Manager > click Memory Manager >in the
right pane d/c PagingFile... >enter numbers in megs for both locations leaving a
space between the (left is initial and right is max)
(Example: C:\pagefile.sys 1024 1024)(that would be for 512 meg RAM located under
the %SystemRoot%)
OK out >close registry >Restart to take effect.
Check the Paging File>>> Right click My Computer > Properties > click
Advanced[tab] > Performance Options(notice Paging File Size all drives) >Change...
look at the size of both & cancel all the way out.

*Note: Don't worry about SYSTEM having control. If you use protection with a
firewall (hardware or software) set correctly it's very difficult to penetrate.
This should be all you need to get a new pagefile.sys.
=============

*Note = I recently had to rebuild V.M. on one box several times, and thought it
was a hack, but couldn't locate any.


good computing,
don
--------------






What is the proceedure, if any, for adjusting VM limit.
I have run into this limit on several occasions and
the warning is for some process to triger an error.
Phil
 
Back
Top