• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Slow shutdown due to virtual memory?

A

afrodeziak

Guest
#1
I tried disabling my virtual memory/page file one time and once I went to shutdown I noticed that it shut down instantly.
Now I have the virutal memory set back on and when I shut down it takes like up to a minute to shutdown

is the virutal memory the reason why it takes so long to shutdown?

P.S. I also have the "clear pagefile" on shutdown tweak set.
 
D

Dirk Diggler

Guest
#2
When you say the Clear PageFile is "set", I'm assuming its actually not set, ie. it has a Value of "0"

A setting of "1" will force the Paging File to be erased on shutdown and this takes time.
 
A

afrodeziak

Guest
#3
sorry for making myself unclear
It is set on "1" meaning it is on.

is it good to erase/clear the pageing file on shutdown?
 
D

Dirk Diggler

Guest
#4
Setting the Paging File to clear at shutdown is I suppose good for security. Other than that I can't see any good reason to wipe it. It takes time to wipe a Paging File at shutdown, and the bigger the Paging File, the longer it takes to wipe.
This is what's causing your delay at shutdown. Why not set it to "0" and and see the difference and decide what you prefer.
 

Perris Calderon

Moderator
Staff member
Political User
#5
hey dirk...I agree, even for securities sake, if you have your firewall on, and trust the other people using the box, I don't see any reason for clearing the page file either,

edit

I thought there might be some performance advantage to not clearing the page file, but it looks like that's not the case
 
A

afrodeziak

Guest
#6
Originally posted by Dirk Diggler
Setting the Paging File to clear at shutdown is I suppose good for security. Other than that I can't see any good reason to wipe it. It takes time to wipe a Paging File at shutdown, and the bigger the Paging File, the longer it takes to wipe.
This is what's causing your delay at shutdown. Why not set it to "0" and and see the difference and decide what you prefer.
So why would clearing a page file be good for security?
 
A

afrodeziak

Guest
#8
Originally posted by dealer
well, if someone hacks your box, or someone using your box wnats to, they can read whatever's in the file
what's the name of the file?
 
#10
Clearing out the Pagefile also saves disk space and seems to boost performance.

On my comp it doesn't really matter anyway...I usually take off after I hit Shutdown and turn off my monitor.
 
D

Dirk Diggler

Guest
#11
Sorry Outback, but clearing the Paging File at shutdown will not save on disk space and will not boost performance.
 
D

Dirk Diggler

Guest
#13
Make your way in your Registry to here:-
HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ Session Manager \ Memory Management

Double-click the word "ClearPageFileAtShutdown" and give it a Value of 1

In XP Pro you can also do this without reg hacking.
Go to Control panel Administrative tools, local security policy. then go to local policies ---> security options.
Then change the option for "Shutdown: Clear Virtual Memory Pagefile"
 
D

Dirk Diggler

Guest
#16
The Pagefile.sys is a hidden, system file. In order to see it you will need to unhide it.
Open up "My Computer" click "Tools", "Folder Options", click the "View" tab, and put a spot in "Show hidden files and folders" and untick "Hide protected operating system files". Click "Apply" and "OK", then do a search for it making sure that you are searching for hidden files and folders in the "Advanced Options" of the search window.
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown