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
Solved

Creating an Additional Pagefile

Posted on 2003-12-04
11
1,334 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 24

Expert Comment

by:shivsa
ID: 9877242
0
 
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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 100 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 400 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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