?
Solved

Creating an Additional Pagefile

Posted on 2003-12-04
11
Medium Priority
?
1,338 Views
Last Modified: 2007-12-19
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?
0
Comment
Question by:Joe_27
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 32

Expert Comment

by:LucF
ID: 9877296
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
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9877410
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 24

Expert Comment

by:shivsa
ID: 9877434
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.
0
 
LVL 2

Assisted Solution

by:Bigjohn-s
Bigjohn-s earned 400 total points
ID: 9877798
Microsoft recommends that the SYSTEM VOLUME page file be at least the size of system RAM.  This way, a dump file can be written if there is a blue-screen crash.

I recommend setting a page file on a second disk, and making a fixed size so that it does not get fragmented.

So, if you have 512MB ram, the C: drive gets a pagefile @ min=512 max=512.  The D: drive gets a page file that is fixed in size also at 150% of your RAM size - 768mb.

I've configured at least 20 servers that way, and the only time they run out of paging memory is when a bad application has a memory leak.

John
0
 

Author Comment

by:Joe_27
ID: 9878896
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?
0
 
LVL 2

Expert Comment

by:Bigjohn-s
ID: 9879074
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.
0
 
LVL 32

Accepted Solution

by:
LucF earned 1600 total points
ID: 9880638
>My intent was to shrink the pagefile down to size from 1.5 gb to something smaller on the system partition.
You can do this, just use the same way I suggested above, but you should leave at least 2MB of pagefile there.

then you can point the dump to another drive:

Rightclick "My computer" => "properties" => "advanced" => "Startup and Recovery" => change the location of the dumpfile.

Greetings,

LucF
0
 
LVL 32

Expert Comment

by:LucF
ID: 9943829
Joe_27, some feedback please..
0
 

Author Comment

by:Joe_27
ID: 9944115
Sorry for the delay.  I created another pagefile to another partition, while having the other one, per Microsoft's recommendation.
0
 
LVL 32

Expert Comment

by:LucF
ID: 9944218
Glad to help ;-)
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
New style of hardware planning for Microsoft Exchange server.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question