You can find some good freeware defraggers for your Vista system these days but not all them will optimize the swap file(pagefile.sys.)
If you have a drive other than C: available you can effectively optimize the page file using the technique shown in the comments for PageDefrag on this site: http://mindprod.com/jgloss/defragger.html
Before changing the Virtual Memory Settings in Vista though I'd make sure you can write to the drive you're going to use to hold your temporary pagefile.sys. In my case there's a Recovery NTFS partition as D: with about 800 MB of free space. This approach is a bit safer than just eliminating the pagefile entirely and hoping Vista will boot, then defragging.
To manage the swap file yourself in Vista do Start=>right click Computer,
then Properties, Advanced System Settings, Performance Settings button, then Advanced Tab, then in Virtual memory area click Change button.
Be confident the system can boot with whatever swap you set as the
temporary pagefile.sys!! The OS hanging on bootup is no fun!
The info I haven't been able to find though, is if there's a "magic number" when setting the pagefile minimum and maximum yourself to indicate "no maximum." Setting the minimum size with no limit on the maximum would seem to be the safest approach but I don't know if there's a number that will signify no limit in the maximum settings. If anyone has discovered it I'd be curious.
In my case Vista was setting the page file to around 2 GB so I figured a 3 GB minimum and 6 GB maximum should be effective to avoid fragmentation.
In any case once you defrag C: put the virtual memory settings back for normal operation and boot again. Unless you put really heavy loads on your system memory the page file should stay contiguous and you can just do the normal defrags for quite some time. Defragging pagefile.sys might be a once every 6 months maintanence chore.
If you have a drive other than C: available you can effectively optimize the page file using the technique shown in the comments for PageDefrag on this site: http://mindprod.com/jgloss/defragger.html
Before changing the Virtual Memory Settings in Vista though I'd make sure you can write to the drive you're going to use to hold your temporary pagefile.sys. In my case there's a Recovery NTFS partition as D: with about 800 MB of free space. This approach is a bit safer than just eliminating the pagefile entirely and hoping Vista will boot, then defragging.
To manage the swap file yourself in Vista do Start=>right click Computer,
then Properties, Advanced System Settings, Performance Settings button, then Advanced Tab, then in Virtual memory area click Change button.
Be confident the system can boot with whatever swap you set as the
temporary pagefile.sys!! The OS hanging on bootup is no fun!
The info I haven't been able to find though, is if there's a "magic number" when setting the pagefile minimum and maximum yourself to indicate "no maximum." Setting the minimum size with no limit on the maximum would seem to be the safest approach but I don't know if there's a number that will signify no limit in the maximum settings. If anyone has discovered it I'd be curious.
In my case Vista was setting the page file to around 2 GB so I figured a 3 GB minimum and 6 GB maximum should be effective to avoid fragmentation.
In any case once you defrag C: put the virtual memory settings back for normal operation and boot again. Unless you put really heavy loads on your system memory the page file should stay contiguous and you can just do the normal defrags for quite some time. Defragging pagefile.sys might be a once every 6 months maintanence chore.
Comment