Go Back   Hardware Canucks > SOFTWARE > O/S's, Drivers & General Software

    
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 14, 2010, 05:18 PM
Rookie
 
Join Date: Dec 2009
Posts: 27
Default how can i defrag page files?

Hi guys,
i am trying to do some house cleaning on my laptop. when i defrag the page files will not defragment, how can i clean these up, or delete them if it is safe to do so.
cheers
pz
Reply With Quote
  #2 (permalink)  
Old January 14, 2010, 05:50 PM
m1dget's Avatar
Allstar
 
Join Date: Nov 2008
Location: Terrebonne, Qc
Posts: 707

My System Specs

Default

Quote:
Originally Posted by PUBZOMBIE View Post
Hi guys,
i am trying to do some house cleaning on my laptop. when i defrag the page files will not defragment, how can i clean these up, or delete them if it is safe to do so.
cheers
pz
lol what?!?

Seriously since you are running windows, just restart it if you think the pagefile has become too big and is slowing down your laptop. Touching swap space of any OS would probably just result in instability or ye olde OS panicking

If you were on linux I would just tell you to swapoff, redo swap partition and remount the swap but on windows, restart.
__________________
"NIX is a classic example of security through obscurity because there is no real monetary reward for crackers and hackers to break Linix" -AkG
Reply With Quote
  #3 (permalink)  
Old January 14, 2010, 06:03 PM
AkG's Avatar
AkG AkG is online now
Hardware Canucks Reviewer
 
Join Date: Oct 2007
Posts: 4,307
Default

Sysinternals FTW. To bad MS bought them and basically killed em.

Here ya go. Pagedefrag:

PageDefrag
__________________
"If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the universe." -JR

“if your opponent has a conscience, then follow Gandhi. But if you enemy has no conscience, like Hitler, then follow Bonhoeffer.” - Dr. MLK jr
Reply With Quote
  #4 (permalink)  
Old January 14, 2010, 06:06 PM
m1dget's Avatar
Allstar
 
Join Date: Nov 2008
Location: Terrebonne, Qc
Posts: 707

My System Specs

Default

Quote:
Originally Posted by AkG View Post
Sysinternals FTW. To bad MS bought them and basically killed em.


And at the risk of looking a bit stupid, does that thing even work when the OS start swapping a lot? I mean no instability whatsoever? o_O
__________________
"NIX is a classic example of security through obscurity because there is no real monetary reward for crackers and hackers to break Linix" -AkG
Reply With Quote
  #5 (permalink)  
Old January 14, 2010, 06:18 PM
AkG's Avatar
AkG AkG is online now
Hardware Canucks Reviewer
 
Join Date: Oct 2007
Posts: 4,307
Default

It will basically do its thing BEFORE the system is up and running. Nice thing is it tells you how fragemented the pagefile is and if you want to defrag on next reboot...or every reboot. Simple and easy to use :)
__________________
"If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the universe." -JR

“if your opponent has a conscience, then follow Gandhi. But if you enemy has no conscience, like Hitler, then follow Bonhoeffer.” - Dr. MLK jr
Reply With Quote
  #6 (permalink)  
Old January 14, 2010, 06:18 PM
Jack Rabbit's Avatar
Allstar
 
Join Date: Sep 2007
Location: Toronto, ON
Posts: 784

My System Specs

Default

Setting the swap space to 0M then turning it back on will do it. You will have to reboot to make the change. Setting it to a fixed size (both max and min the same) will prevent Windows from fragmenting it.
__________________
He either fears his fate too much, or his deserts are small, that dares not put it to the touch, to gain or lose it all.
- James Graham
Reply With Quote
  #7 (permalink)  
Old January 14, 2010, 06:20 PM
AkG's Avatar
AkG AkG is online now
Hardware Canucks Reviewer
 
Join Date: Oct 2007
Posts: 4,307
Default

Even if you set it to a fixed size....it WILL fragment. Just more slowly.
__________________
"If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the universe." -JR

“if your opponent has a conscience, then follow Gandhi. But if you enemy has no conscience, like Hitler, then follow Bonhoeffer.” - Dr. MLK jr
Reply With Quote
  #8 (permalink)  
Old January 14, 2010, 06:24 PM
Hall Of Fame
F@H
 
Join Date: Nov 2008
Location: Ottawa, ON
Posts: 1,226

My System Specs

Default

+1 to Jack Rabbit's suggestion - that's what I do when I first set up Windows or if I move the page file to another drive

When I am being paranoid I use a BartPE disk Bart's Preinstalled Environment (BartPE) bootable live windows CD/DVD that I preload with MyDefrag (aka JkDefrag) MyDefrag v4.2.7 to perform the defragmentation, so I can get at all the stuff Windows locks out while it is running (hibernation file, system restore, etc).

BTW does PageDefrag work on Win7 / Vista now? When I tried it in the past, my computer would restart but no defrag would happen.
Reply With Quote
  #9 (permalink)  
Old January 14, 2010, 06:26 PM
AkG's Avatar
AkG AkG is online now
Hardware Canucks Reviewer
 
Join Date: Oct 2007
Posts: 4,307
Default

Unforuntaly, no. Pagedefrag and all the other systinternal goodies are for XP only. Like I said those SOB's at redmond bought them out and killed em (though IIRC the main programmers are still working at MS).
__________________
"If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the universe." -JR

“if your opponent has a conscience, then follow Gandhi. But if you enemy has no conscience, like Hitler, then follow Bonhoeffer.” - Dr. MLK jr
Reply With Quote
  #10 (permalink)  
Old January 14, 2010, 08:34 PM
m1dget's Avatar
Allstar
 
Join Date: Nov 2008
Location: Terrebonne, Qc
Posts: 707

My System Specs

Default

Quote:
Originally Posted by AkG View Post
It will basically do its thing BEFORE the system is up and running. Nice thing is it tells you how fragemented the pagefile is and if you want to defrag on next reboot...or every reboot. Simple and easy to use :)
Waiwaiwaiwait... what?

Is it just me or that doesn't make any sense? Why would you fragment something at startup when the pagefile is supposed to be 'clean'? o_O
__________________
"NIX is a classic example of security through obscurity because there is no real monetary reward for crackers and hackers to break Linix" -AkG
Reply With Quote
Reply


Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
new install of Vista 64 wont defrag and reports damage PUBZOMBIE O/S's, Drivers & General Software 4 January 14, 2010 10:47 AM
To page file or not to page file gingerbee O/S's, Drivers & General Software 22 November 11, 2009 09:32 PM
Defrag no_pulse O/S's, Drivers & General Software 23 April 6, 2009 02:23 PM
Vista + Diskeeper's boot time defrag = Crash no_pulse O/S's, Drivers & General Software 1 March 29, 2009 02:40 AM
The 'Sayings' Page!! Soultribunal Off Topic 51 March 15, 2009 09:45 PM