pagefile.sys : Java Glossary

go to home page P words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 Roedy Green, Canadian Mind Products
pagefile.sys
W95/W98/Me/NT/W2K/XP/W2K3/Vista/W7 have a virtual memory system. This means it fakes having more RAM than it really does by keeping a backing store on disk contaning the least recently used information. The backing store is a file, usually on the C: drive called pagefile.sys.

pagefile.sys is usually 1.5 to 3 times the size of your real RAM. You have to experiment to find out what is optimal. Basically, the more programs you have loaded that are not actually doing anything, the bigger pagefile.sys should be. In Vista/W7 you control the size of it with Start ⇒ Control Panel ⇒ System and Maintenance ⇒ System ⇒ Advanced System Settings ⇒ Advanced⇒ ⇒ Performance ⇒ Settings ⇒ Advanced ⇒ Virtual Memory ⇒ Change. If you had 2Gb of RAM, you might set the size of pagefile.sys to 3000 MB.

For good performance, you want pagefile.sys contiguous on disk, not scattered all over the disk in a number of fragments. You don’t want the disk arms to go chasing all over since this is a very heavily used files. pagefile.sys can’t be defragged like an ordinary file; it takes special techniques. See the defragger entry on programs to do that for you. Even they fail sometimes, so here is a technique for manual defragging:

Manual Defragging of pagefile.sys

Let us say you had two partitions C: and D:. First create a pagefile.sys on D:. Then reboot. Then set the size of the one on C: to 0. Then reboot. Then defrag C:. Then set the size of the C: pagefile.sys back to normal. Then reboot. Then set the one on D: to 0. Then reboot. Windows will then recreate the pagefile.sys in the vast empty spaces freed on C:, and it will natually create it in one piece, right after the end of the files, (which if you have use O&O defragger with the COMPLETE ACCESS option, are nicely in order so the most active files are at the end close to the newly created pagefile.sys).


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/pagefilesys.html J:\mindprod\jgloss\pagefilesys.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.109]
You are visitor number 11,645.