[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Creating an Additional Pagefile

Posted on 2003-12-04
11
Medium Priority
?
1,340 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
  • 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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

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…
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

829 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