rundll32.Exe PowrProf.Dll, SetSuspendState = Standby

Everyone knows you can’t have a pagefile larger than 4 GB per volume, right?  WRONG!  See Microsoft article 237740.

The current algorithm Windows uses to set the default paging file size is:

  • If total physical RAM is less than 2 gigabytes (GB), the paging file is set to 1.5 times the amount of RAM or 2 GB, whichever is smaller.
  • If total physical RAM is equal to or more than 2 GB, the default size is set to 2 GB.

If you want to create multiple 4 GB pagefiles on the same volume:

First, you have to be using /PAE
And you have to use /MAXMEM if you want to get a complete memory dump
Create multiple folders on your drive to hold the pagefiles (ex: c:\pagefile1, etc)
Edit the MemoryManagement key
Edit the PagingFiles key and associate the files to the folders you created (c:\pagefile1\pagefile.sys 3000 4000)
Reboot

Now when you look at the virtual memory settings in the control panel applet you’ll see the new configuration.  Be cautious if you do this… performance could be impacted significantly.

© 2010 LANalyze Suffusion WordPress theme by Sayontan Sinha