Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Known Problem: Application uses page file but has a memory leak. Of course getting rid of the memory leak would be ideal but as this is an application that is specific to our company and built for us we may have to live with the problem.

OS: Windows Server 2003 r2 Enterprise Edition

Question: Is it possiblle to clear the page file without rebooting? If our application needs to be restarted that would be ok, but from what I have seen... I think you must reboot.

share|improve this question
up vote 2 down vote accepted

No, "cleaning" the page file requires a reboot.

But you shouldn't need to clean the pagefile. Restarting the application will remove it from memory, and then that memory (including data swapped to the pagefile) can be reused.

Cleaning/wiping the page file is generally reserved for security or counter-forensics purposes, and has nothing to do with correcting or working around an application that leaks memory.

share|improve this answer
re-read this after a few years... your answer was well said. Thanks for helping me 3 years ago! – Patrick May 4 at 22:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.