Low Virtual Memory Error

R

Robert Mahoney

Good morning.

I have a client using Windows 2000 Service Pk 4, and on
her laptop she continuously gets the error "Low on Virtual
Memory. Please increase the size..."

And I've increased her virtual memory countless times, far
exceeding the 392 MB recommend limit (I think at this
point it's at 1200)

There appears to be no pattern, as this error pops up not
consistently - but daily. From when she starts her laptop,
to opening email.

What is the cause, and more importantly the solution?
 
D

Dave Patrick

Make sure that the System account (NT Authority) has full control of the
%systemdrive% and or the drive your trying to put the pagefile on. My
Computer|Drive|File|Properties|Security|Permissions

The system account (nt authority) is the operating system's account and
needs to have full control of the drive(s) the pagefile exists on.
 
V

*Vanguard*

Robert said:
Good morning.

I have a client using Windows 2000 Service Pk 4, and on
her laptop she continuously gets the error "Low on Virtual
Memory. Please increase the size..."

And I've increased her virtual memory countless times, far
exceeding the 392 MB recommend limit (I think at this
point it's at 1200)

There appears to be no pattern, as this error pops up not
consistently - but daily. From when she starts her laptop,
to opening email.

What is the cause, and more importantly the solution?

Have you had her relate what Task Manager is reporting for memory usage?
Do any of the processes consume lots of memory, starting small and ever
growing (i.e., a memory leak)?
 
R

Robert Mahoney

Thanks for the advice Dave.

I've checked the Authority rights and she has full access.

The error did occur again this morning though.

Thanks again.
-----Original Message-----
Make sure that the System account (NT Authority) has full control of the
%systemdrive% and or the drive your trying to put the pagefile on. My
Computer|Drive|File|Properties|Security|Permissions

The system account (nt authority) is the operating system's account and
needs to have full control of the drive(s) the pagefile exists on.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Robert Mahoney said:
Good morning.

I have a client using Windows 2000 Service Pk 4, and on
her laptop she continuously gets the error "Low on Virtual
Memory. Please increase the size..."

And I've increased her virtual memory countless times, far
exceeding the 392 MB recommend limit (I think at this
point it's at 1200)

There appears to be no pattern, as this error pops up not
consistently - but daily. From when she starts her laptop,
to opening email.

What is the cause, and more importantly the solution?


.
 
D

dcdon

You have more than one problem.
Your real problem is applications with memory leaks, or that are memory hogs.
In the case of the latter, you can get more RAM... For very Memory intrusive applications,
you may need to add RAM until the problem goes away, stop all other programs when you are
using the "hog". In the case of the former, check back with the applications tech support
for recommendations.
To recreate your pagefile.sys, use the following:

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+32 MB
Max.= 4095 MB (work around to add more)


=========
To rebuild the pagefile:
Start >Settings >Control Panel >System >Advanced[tab] >Performance 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)
=========


=========
If you have lost your pagefile:
To check for a temporary "temppf.sys" (temporary pagefile) do a search. Note the size is 20
meg, and location.
To 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 in 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.
=========




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

Thanks for the advice Dave.

I've checked the Authority rights and she has full access.

The error did occur again this morning though.

Thanks again.
-----Original Message-----
Make sure that the System account (NT Authority) has full control of the
%systemdrive% and or the drive your trying to put the pagefile on. My
Computer|Drive|File|Properties|Security|Permissions

The system account (nt authority) is the operating system's account and
needs to have full control of the drive(s) the pagefile exists on.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Robert Mahoney said:
Good morning.

I have a client using Windows 2000 Service Pk 4, and on
her laptop she continuously gets the error "Low on Virtual
Memory. Please increase the size..."

And I've increased her virtual memory countless times, far
exceeding the 392 MB recommend limit (I think at this
point it's at 1200)

There appears to be no pattern, as this error pops up not
consistently - but daily. From when she starts her laptop,
to opening email.

What is the cause, and more importantly the solution?


.
 

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

Similar Threads


Top