Virtual memory

  • Thread starter Thread starter Support
  • Start date Start date
S

Support

Bit puzzled on this one...
I had to reformat my PC and while doing so I set up a partition specifically
for virtual memory of 1.5gb and set the swap file on this partition to be
initial size 4 and maximum of 1480. At present this is 4mb
I have 512mb memory installed.
I also set up the c:\ partition pagefile as 4-766 (recommended)
At present this is 11mb
When logging on I now get a message saying that I am low on virtual memory.
Where have I gone wrong and how can I get the system to use the pagefile on
the
specified partition?
thanks
 
Hi,

Anything below 12MB will get you that squawk. On most workstations the
Pagefile size is an art and not a pure science. If you have more than one
HDD, placing the pagefile on a separate HDD is a plus. Here is a link that
discusses the pagefile ongoing debate. It is pretty good.

http://www.petri.co.il/pagefile_optimization.htm

Another KB concerning "low pagefile" squawk link below
http://support.microsoft.com/?kbid=257758

If you need to delete pagefile this KB shows how
http://support.microsoft.com/default.aspx?scid=kb;en-us;255205

If you want to install the Recovery Console this KB shows how
http://support.microsoft.com/?id=318752

good computing,
don




Bit puzzled on this one...
I had to reformat my PC and while doing so I set up a partition specifically
for virtual memory of 1.5gb and set the swap file on this partition to be
initial size 4 and maximum of 1480. At present this is 4mb
I have 512mb memory installed.
I also set up the c:\ partition pagefile as 4-766 (recommended)
At present this is 11mb
When logging on I now get a message saying that I am low on virtual memory.
Where have I gone wrong and how can I get the system to use the pagefile on
the
specified partition?
thanks
 
I agree with dcdon and like the links, btw.

Some basic things about pagefiles I've found after many years of NTx, Win2x, etc.

1 - minimum and maximum should be the same size

2 - pagefile usage is based on computer usage. If you run lots of apps at the same time, you'll need a bigger pagefile than maybe a secretary who only emails and does documents.

3 - if you can defrag your pagefile into one contiguous space, it increaes performance a bit. Ok, that's what I see, but others who don't so what my servers do may not see the increase.

4 - if you have one HDD, DO NOT make a special partition for the pagefile. Simply make a single one and defrag. The system doesn't have to go between two completely different areas of the hard disk to handle it.

5 - TaskMan has Commit Charge which shows the total of memory plus pagefile. If after running all your apps, the value of Peak approaches Limit, think about increasing pagefile size.

6 - Below is a script I wrote to display pagefile information

====================================================
strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colPageFiles = objWMIService.ExecQuery ("Select * from Win32_PageFileUsage")

For each objPageFile in colPageFiles
wscript.echo "------------------------------------------------------------"
Wscript.Echo "AllocatedBaseSize : "& vbTab & objPageFile.AllocatedBaseSize
Wscript.Echo "CurrentUsage : "& vbTab & objPageFile.CurrentUsage
Wscript.Echo "Description : "& vbTab & objPageFile.Description
Wscript.Echo "InstallDate : "& vbTab & objPageFile.InstallDate
Wscript.Echo "Name : "& vbTab & objPageFile.Name
Wscript.Echo "PeakUsage : "& vbTab & objPageFile.PeakUsage
wscript.echo ""
Next

wscript.echo ""

Set colPageFiles = objWMIService.ExecQuery ("Select * from Win32_PageFile")

For each objPageFile in colPageFiles
wscript.echo "------------------------------------------------------------"
Wscript.Echo "Name : " & vbTab & objPageFile.Name
'Wscript.Echo "CreationDate : " & vbTab & objPageFile.CreationDate
'Wscript.Echo "Description : " & vbTab & objPageFile.Description
'Wscript.Echo "Drive : " & vbTab & objPageFile.Drive
'Wscript.Echo "FileName : " & vbTab & objPageFile.FileName
'Wscript.Echo "FileSize : " & vbTab & objPageFile.FileSize
Wscript.Echo "InitialSize : " & vbTab & objPageFile.InitialSize
'Wscript.Echo "InstallDate : " & vbTab & objPageFile.InstallDate
Wscript.Echo "MaximumSize : " & vbTab & objPageFile.MaximumSize
'Wscript.Echo "Path : " & vbTab & objPageFile.Path
wscript.echo ""
Next

wscript.echo

wscript.quit()
=============================================
Cut and paste between the double-dash lines and place it in Notepad. Save as a .VBS

Run with the command CSCRIPT.EXE filename.vbs

Hope this helps.
--
Mark-Allen Perry
ALPHA Systems, Switzerland
mark-allen AT mvps DOT org

Bit puzzled on this one...
I had to reformat my PC and while doing so I set up a partition specifically
for virtual memory of 1.5gb and set the swap file on this partition to be
initial size 4 and maximum of 1480. At present this is 4mb
I have 512mb memory installed.
I also set up the c:\ partition pagefile as 4-766 (recommended)
At present this is 11mb
When logging on I now get a message saying that I am low on virtual memory.
Where have I gone wrong and how can I get the system to use the pagefile on
the
specified partition?
thanks
 
ty Mark

8o)
don

===============

I agree with dcdon and like the links, btw.

Some basic things about pagefiles I've found after many years of NTx, Win2x,
etc.

1 - minimum and maximum should be the same size

2 - pagefile usage is based on computer usage. If you run lots of apps at
the same time, you'll need a bigger pagefile than maybe a secretary who only
emails and does documents.

3 - if you can defrag your pagefile into one contiguous space, it increaes
performance a bit. Ok, that's what I see, but others who don't so what my
servers do may not see the increase.

4 - if you have one HDD, DO NOT make a special partition for the pagefile.
Simply make a single one and defrag. The system doesn't have to go between
two completely different areas of the hard disk to handle it.

5 - TaskMan has Commit Charge which shows the total of memory plus pagefile.
If after running all your apps, the value of Peak approaches Limit, think
about increasing pagefile size.

6 - Below is a script I wrote to display pagefile information

====================================================
strComputer = "."

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colPageFiles = objWMIService.ExecQuery ("Select * from
Win32_PageFileUsage")

For each objPageFile in colPageFiles
wscript.echo
"------------------------------------------------------------"
Wscript.Echo "AllocatedBaseSize : "& vbTab &
objPageFile.AllocatedBaseSize
Wscript.Echo "CurrentUsage : "& vbTab &
objPageFile.CurrentUsage
Wscript.Echo "Description : "& vbTab & objPageFile.Description
Wscript.Echo "InstallDate : "& vbTab & objPageFile.InstallDate
Wscript.Echo "Name : "& vbTab & objPageFile.Name
Wscript.Echo "PeakUsage : "& vbTab & objPageFile.PeakUsage
wscript.echo ""
Next

wscript.echo ""

Set colPageFiles = objWMIService.ExecQuery ("Select * from Win32_PageFile")

For each objPageFile in colPageFiles
wscript.echo
"------------------------------------------------------------"
Wscript.Echo "Name : " & vbTab & objPageFile.Name
'Wscript.Echo "CreationDate : " & vbTab &
objPageFile.CreationDate
'Wscript.Echo "Description : " & vbTab &
objPageFile.Description
'Wscript.Echo "Drive : " & vbTab & objPageFile.Drive
'Wscript.Echo "FileName : " & vbTab & objPageFile.FileName
'Wscript.Echo "FileSize : " & vbTab & objPageFile.FileSize
Wscript.Echo "InitialSize : " & vbTab &
objPageFile.InitialSize
'Wscript.Echo "InstallDate : " & vbTab &
objPageFile.InstallDate
Wscript.Echo "MaximumSize : " & vbTab &
objPageFile.MaximumSize
'Wscript.Echo "Path : " & vbTab & objPageFile.Path
wscript.echo ""
Next

wscript.echo

wscript.quit()
=============================================
Cut and paste between the double-dash lines and place it in Notepad. Save
as a .VBS

Run with the command CSCRIPT.EXE filename.vbs

Hope this helps.
--
Mark-Allen Perry
ALPHA Systems, Switzerland
mark-allen AT mvps DOT org

Bit puzzled on this one...
I had to reformat my PC and while doing so I set up a partition specifically
for virtual memory of 1.5gb and set the swap file on this partition to be
initial size 4 and maximum of 1480. At present this is 4mb
I have 512mb memory installed.
I also set up the c:\ partition pagefile as 4-766 (recommended)
At present this is 11mb
When logging on I now get a message saying that I am low on virtual memory.
Where have I gone wrong and how can I get the system to use the pagefile on
the
specified partition?
thanks
 

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

virtual memory 19
Pagefile and virtual memory 11
Running low on virtual memory 3
Win Virtual Memory Too Low 7
msinfo32 way off on virtual memory size. Why? 1
Virtual Memory Error 9
virtual memory 9
virtual memory 1

Back
Top