Link to home
Start Free TrialLog in
Avatar of Joe_27
Joe_27

asked on

Creating an Additional Pagefile

My server operating system partition is running out of space.  I traced it down to my ever-growing pagefile.  I would like to move the pagefile to a different partition.  However, according to Microsoft, they recommend having 2 pagefiles.  One would reside on the system partition, while the other is on a different one.  How do I create an additional pagefile on a different partition, and how do I tell Windows to use the new pagefile?

Also, if it's using the new one, does the old decrease in size?  Or do I need to move the old over r to another partition, then create a new one on the system partition?
Avatar of shivsa
shivsa
Flag of United States of America image

Avatar of Luc Franken
Hi Joe_27,

Rightclick "My computer" => "properties" => "advanced" => "performance options" => "Change" you can set the page file to whatever you want, you should leave 2MB on the first drive for debugging information.

Greetings,

LucF
Within Windows 2000 and Windows XP, you can configure the drive(s) on which the pagefile(s) reside, but you cannot change the location or name of the pagefile(s) themselves. Within the registry however, you can.

To change the pagefile name or location:

    * Use a registry editing tool to navigate to the following key:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\
      Session Manager\Memory Management

    * Change the value with the following details:

      Data Type: MULTI_SZ
      Value Name: PagingFiles
      Value: C:\pagefile.sys 286 286
      As you can have multiple paging files, you can set the details of each one. This is a MULTI_SZ value so it can contain a list of values. Simply enter the path and name of where you want to place the paging file, and its size in megabytes.

    * Restart the computer for the changes to take effect.
SOLUTION
Avatar of Bigjohn-s
Bigjohn-s

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Joe_27
Joe_27

ASKER

Well my server has 1 gig of RAM presently.  I created another pagefile and it's set on a different partition.  However, my system partition has only 290 MB left.  My intent was to shrink the pagefile down to size from 1.5 gb to something smaller on the system partition.  Now if the page file on the sys partition needs to equal the RAM, would I still be in the same predicament?
Depends on what you're keeping on your system partition.  If you reduce the local swapfile to 1 gb, you'd have 700m free roughly.

If your system has crashed, you may have a 1gb DUMP file on your server there.  Look for a file called DUMP in the root of SYSVOL.  It may be a hidden file, I don't recall.

If you right click my computer and select properties, on the advanced tab select system recovery options.  If your system is quite stable, choose Kernel dump, then specify an alternative path for the dump.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Joe_27, some feedback please..
Avatar of Joe_27

ASKER

Sorry for the delay.  I created another pagefile to another partition, while having the other one, per Microsoft's recommendation.
Glad to help ;-)