Rather than try to do this manually, I'd recommend a command-line tool courtesy of the good folks at SysInternals, which is designed to do exactly that: PAGEDEFRAG. When run, it will force a defrag on your page file the next time your machine is rebooted. You can also use it to force a defrag of the page file on each reboot, which is handy.
Learn more: What is virtual memory? Read a definition from WhatIs.com.
Related Q&A from Serdar Yegulalp
This week, our expert answers the question of how to get DVD data off a disc, even if the user's PC doesn't have an optical drive.continue reading
This week, our expert answers a question on how to connect a phone or tablet to a USB drive with a micro-USB connector.continue reading
Open source and free suites such as LibreOffice and OpenOffice could save organizations money, but not effort in comparison with Microsoft Office.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.