DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Pagefile.sys  (Read 6,567 times)

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Pagefile.sys
« on: September 03, 2006, 12:55 AM »
I know that the Pagefile is kind of like extra ram (virtual memory), but is there a way to safely delete it or clean it up so that it isn't taking up all that hard drive space? You know, start a fresh pagefile?

kimmchii

  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 360
Re: Pagefile.sys
« Reply #1 on: September 03, 2006, 01:30 AM »
you can clear it on shutdown
How to Clear the Windows Paging File at Shutdown

it will start a fresh one after reboot.
If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Pagefile.sys
« Reply #2 on: September 03, 2006, 07:15 AM »
Thanks!

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Pagefile.sys
« Reply #3 on: September 03, 2006, 01:13 PM »
If you've got plent of ram (in my experience at least a gigabyte, but preferably two) you can disable the paging file entirely, if you're running XP (win2k will create a temp pagefile at boot if you disable it >_<).

Go to system properties -> advanced tab -> performance <settings button> -> advanced tab -> virtual memory <change button> -> select "no paging file" and press <set button> for each partition that has a paging file. Then click all the OK buttons :), reboot, and you can delete pagefile.sys.
- carpe noctem

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Pagefile.sys
« Reply #4 on: September 05, 2006, 04:36 PM »
PageDefrag from Sysinternals.com
http://www.sysinternals.com/Utilities/PageDefrag.html
Quote
PageDefrag uses advanced techniques to provide you what commercial defragmenters cannot: the ability for you to see how fragmented your paging files and Registry hives are, and to defragment them. In addition, it defragments event log files and Windows 2000/XP hibernation files (where system memory is saved when you hibernate a laptop).
All children left unattended will be given a mocha and a puppy.

Original address: https://www.donationcoder.com/forum/index.php?topic=5056.0