The Page file

Frank1

New member
Power User
VIP
Local time
8:08 PM
Messages
394
Location
Ohio
I would like to give my thoughts about the Page file and would like some thoughts about it from some of the other members. I could be wrong on my assessment but would like some other opinions. My laptop computer is running Windows 7 64 bit. I have 8 gig of ram installed. As far as the Page file is concerned, I had it set so that Windows controls the size which was 8136MB. First of all, it boggles my mind why Windows wants that big of a file simply to use it to write logs. Second, there are two potential problems with the Page file: First it can become corrupt which could cause problems. Second, it could become a security issue. I have therefore edited the registry so that it clears the file on shutdown. The only drawback is that it takes a long time to shut down since it has to clear the file. My computer would take 3 minutes to shutdown. I therefore set the Page file at 50 MB which I think is large enough. Now it takes only 1 1/2 minutes to shutdown. I'm going to leave it like that. I would appreciate it if we could have some discussion on what I have said. Thanks
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
The discussion is, you are spending too much time and effort worrying about something that isn't really worth it. There are far more worrisome security issues than a pagefile, and corruption isn't really an issue. I can't say I've heard of that in a long long time.

It boils down to this. Your first option is to leave it alone and let Windows manage it. If you are using a small SSD and need more space, set it to a static size of 2 GB. Don't worry about clearing it on shutdown. Then go on using your system for it's intended purposes.
 

My Computer

OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus
Deacon is exactly right. That's what I do on all my systems because they all run on small SSDs. 1 or 2GB is enough for the pagefile and clearing it at shutdown is for the birds.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
The page file (virtual memory) is not for writing logs. If you have 8GB of RAM, you probably don't need 8+ GB of a page file but if it is too small, memory dump files, for diagnostics, will not be available in case of asystem crash.

What is virtual memory?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1,
CPU
INTEL i9-7920X LGA 2066
Motherboard
Gigabyte X299-WU8 F3
Memory
64 GB (4 X 16 GB) G-Skill V Series DDR4 3200 Quad Channel
Graphics Card(s)
EVGA GTX 1060 SC 3 GB
Sound Card
Realtek Onboard ALC1220
Monitor(s) Displays
2 x Samsung S27E310
Screen Resolution
1920x1080
Hard Drives
Samsung 2 x 970 EVO Plus 500 GB NVMe
1 x 6TB WD 6003FZBX SATA
1 x 6TB WD 60EFRX SATA
12 x 3TB WD 30EFRX SATA
PSU
Seasonic X-1050
Case
Thermaltake Armor+
Cooling
Corsair H80i V2 Liquid AOI Cooler
Keyboard
Logitech G510s
Mouse
Logitech MX Master 2S
Internet Speed
200 Mb/s
Antivirus
ESET NOD32 13.1
Browser
EDGE (Dev, Canary, Beta), Chrome
Other Info
ASUS RT-AC68U router
Malwarebytes 4.0.4
You can tell Windows to encrypt the paging file.

TThere are far more worrisome security issues than a pagefile,

So if people uses encryption to protect data on their harddrive, you don't find any problems by having it leak to the paging file?
 

My Computer

OS
Windows
The page file (virtual memory) is not for writing logs. If you have 8GB of RAM, you probably don't need 8+ GB of a page file but if it is too small, memory dump files, for diagnostics, will not be available in case of asystem crash.
Isn't the "memory dump file" a log file?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
So if people uses encryption to protect data on their harddrive, you don't find any problems by having it leak to the paging file?
Think about the question you asked me and you'll see very quickly why this is a non-issue.
 

My Computer

OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus
@Frank1
Yes it is but it is not stored in the page file (virtual memory). The system uses the page file to create the memory dump and stores it in C:\Windows.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1,
CPU
INTEL i9-7920X LGA 2066
Motherboard
Gigabyte X299-WU8 F3
Memory
64 GB (4 X 16 GB) G-Skill V Series DDR4 3200 Quad Channel
Graphics Card(s)
EVGA GTX 1060 SC 3 GB
Sound Card
Realtek Onboard ALC1220
Monitor(s) Displays
2 x Samsung S27E310
Screen Resolution
1920x1080
Hard Drives
Samsung 2 x 970 EVO Plus 500 GB NVMe
1 x 6TB WD 6003FZBX SATA
1 x 6TB WD 60EFRX SATA
12 x 3TB WD 30EFRX SATA
PSU
Seasonic X-1050
Case
Thermaltake Armor+
Cooling
Corsair H80i V2 Liquid AOI Cooler
Keyboard
Logitech G510s
Mouse
Logitech MX Master 2S
Internet Speed
200 Mb/s
Antivirus
ESET NOD32 13.1
Browser
EDGE (Dev, Canary, Beta), Chrome
Other Info
ASUS RT-AC68U router
Malwarebytes 4.0.4
@Frank1
Yes it is but it is not stored in the page file (virtual memory). The system uses the page file to create the memory dump and stores it in C:\Windows.
Thanks, I didn't know that.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
Frank,
DeaconFrost and WHS have given you excellent advice.

Follow their advice.

This is Windows 7 and not eXPired.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.

My Computer

OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.

My Computer

Computer type
PC/Desktop
OS
Microsoft Windows 10 Professional / Windows 7 Professional
CPU
Intel i5-3570
Motherboard
Lenovo Mahobay
Memory
16GB DDR3
Graphics Card(s)
AMD Radeon HD 7850 2GB
Sound Card
(1) Realtek HD Audio (2) AMD HD Audio
Monitor(s) Displays
LG LS192WS
Screen Resolution
1440 x 900 @ 32bit color
Hard Drives
(1) SUV300S37A/120G (2) ST3500413AS SATA Disk Device AHCI mode enabled.
PSU
Corsair HX620
Case
Thermaltake V4 Black Edition
Cooling
Cooler Master Hyper 212 + Artic Silver 5 on CPU/GPU
Keyboard
Dell SK-8115
Mouse
Razer Copperhead with MAPED mat (awesome!)
Internet Speed
100 Mbps up/down
Browser
Chrome
Frank,

How To Size Page Files on Windows Systems -- Microsoft Certified Professional Magazine Online

Pushing the Limits of Windows: Virtual Memory - Mark's Blog - Site Home - TechNet Blogs

I'll summarize:
for the normal standalone computer user, just leave it be.
If you don't carry about dump files generated by crashes and bsods, you can reduce.

That material is not simple reading for an intro but is very thorough.
Thanks, Karl--I'm going to read that and see how much I can understand. For right now, I just set it to let Windows handle the pagefile. Microsoft probably know a little bit more about it than I do. :)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP Pavilion g7-1260us Notebook
OS
Desk Top with Win 7 Home Premium 64 bit and Lap Top with Windows 8.1 Pro 64 bit
Memory
8Gig
Screen Resolution
1600x900
Frank,
For right now, I just set it to let Windows handle the pagefile. Microsoft probably know a little bit more about it than I do.

Wise decision.
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
I don't see it.
Hint: Think about where the page file is stored. Second hint: You can take off your tin foil hat now.

It is very possible to have encrypted data without having the entire partition with the paging file encrypted.

It is not a tin foil hat. The OP is worried about security. I think the problem is that no matter the scenario, some people can only say "leave it alone".
 
Last edited:

My Computer

OS
Windows
Oddly enough Win 7 is very good at memory management, real and virtual.
I would leave well alone unless you are critically needing the 8Gb, which on an SSD you shouldn't, there should be a limit of 80% usage of the drive for trim to work effectively.
 

My Computer

Computer Manufacturer/Model Number
DIY
OS
Windows 7 home premium x64
CPU
AMD FX-4100 AM3+ 3.6GHz 12MB Black Edition
Motherboard
Asus M5A97 Pro
Memory
Crsair vengeance 12Gb DDR3 1600MHz CL9
Graphics Card(s)
Asus GTX 560 1GB
Sound Card
Realtek onboard
Monitor(s) Displays
Hanns G 1680x1050 native
Hard Drives
OCZ 128Gb Petrol ssd
2x500 Gb Samsung
PSU
OCZ StealthXstream II 500W
Internet Speed
8Mb or better
I think the problem is that no matter the scenario, some people can only say "leave it alone".
Because most often, that's the best advice. You are creating issues where there are none, only serving to cloud the understanding of the OPs further.
 

My Computer

OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i7-2600
Motherboard
Gigabyte GA-P67A-UD3P-B3
Memory
12 GB Patriot Extreme DDR3-1333
Graphics Card(s)
Nvidia GTX 470
Monitor(s) Displays
Dell UltraSharp 2209WA
Hard Drives
OCZ Agility3 240 GB, WD5001AALS, WD7501AALS
PSU
OCZ ModStream 700W
Case
CoolerMaster HAF 912 Advanced
Cooling
CoolerMaster Hyper 212 Plus
Back
Top