Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pagefile problems

Status
Not open for further replies.

moleman100

Technical User
Nov 24, 2003
2
US
While optimizing my XP setup I changed my virtual memory settings from "Let system manage virtual memory to "No paging file". I wanted to see if I gained any performance advantage with it off and being that I have a gig of ram I thought I'd give it a shot. All went well and all my apps worked just fine. But not seeing any performance increase I decided to change the settings to a min/max, approximately 1.5x my total memory. Upon system reboot and windows opening I got the error message "Limited virtual memory, "Your system has no paging file or the paging file is too small". And when opening the performance control panel, the message, "Windows created a temporary paging file on your computer because of a problem that occurred with your paging file configuration when you started your computer. The total paging file size for all disk drives may be somewhat larger than the size you specified." Under the cache settings, the min/max settings were showing but no ram was listed dedicated to the pagefile. I referred to Microsoft Knowledge base article 315270, which bases this problem on privileges issues. I checked that both my Administrators and system accounts had full privileges , but this did not solve the problem. I also ran chkdsk which came up ok. If I leave memory set to "No paging file, I do not get the warnings. "Let computer manage size" won't work either. Is the pagefile.sys corrupted? How do I correct this?
 
The min should be 1.5x the amount of RAM and the Max should be 3x the amount of RAM.

Try those settings on your system drive (typically C:). Then for performance issues move your pagefile to an entire different physical Hard Drive.
 
Thankyou for the responses. I had already checked the administrative privledges, Microsoft Knowledge Base Article - 315270, and they were indeed set to full access. Also, it doesn't matter whether I set the virtual memory options to "Let Windows manage..." or "custom" with a min/max setting, either way I get the error. It will not let me change it back. I turned it off now I can not turn it back on.
 
Kelly Theriot's suggestion:

Start/Run/Regedit: Hkey_Local_Machine\System\CurrentControlSet\Control\Session Manager\MemoryManagement

There you will find these entries: PagingFiles:Reg_Multi_SZ:C:\pagefile.sys. TempPageFile:Reg_Dword:0x1

If the PagingFiles: entry is populated, delete the entire TempPageFile entry then reboot. Or...

Check your settings here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\MemoryManagement

PagingFiles
Reg_Multi_SZ type
Value for System Managed on C: is C:\Pagefile.sys 0 0

To change the minimum and maximum values, change the 0's to the Min and Max values you want. Example: C:\Pagefile.sys 766 1024

You will also need to make this change in the
HKEY_LOCAL_MACHINE\System\ControlSet001, ControlSet002 and ControlSet003 branches, if they exist.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top