Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Removing Win 7 system file use of paging file

22 Jan 2015   #21
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Quote   Quote: Originally Posted by gregrocker View Post
Question: On a drive where space isn't tight, what would be the advantage of trimming the paging file even with tons of RAM?
Some imaging programs include the pagefile (and hibernate file) and they can't be excluded.
With a smaller pagefile the backup images will be smaller.


My System SpecsSystem Spec
.
22 Jan 2015   #22
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Quote   Quote: Originally Posted by DavidE View Post
Quote   Quote: Originally Posted by gregrocker View Post
Question: On a drive where space isn't tight, what would be the advantage of trimming the paging file even with tons of RAM?
Some imaging programs include the pagefile (and hibernate file) and they can't be excluded.
With a smaller pagefile the backup images will be smaller.
An empty pagefile and hiberfile will be compressed in the image. So it is really irrelevant what size an empty pagefile has. Only if you clone you will get a full size page and hiberfile.
My System SpecsSystem Spec
22 Jan 2015   #23
gregrocker

 

So the paging file will remain empty with large amount of RAM? Or is it empty because it's been turned off?
My System SpecsSystem Spec
.

22 Jan 2015   #24
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

How will these files be empty ?

I just opened a Macrium free image file and browsing the image file in Windows Explorer shows these files with the same size as the source files.

With Acronis paid I exclude these files from being included in the backup.
My System SpecsSystem Spec
22 Jan 2015   #25
cluberti

Windows 10 Pro x64
 
 

Microsoft imaging solutions already exclude these files. If using something else, you either exclude them by configuring the software to do so if the software is not already preconfigured to do so. If the captured image would indicate that the paging file or hiberfile was indeed captured whole, then reconfigure the imaging software (if possible), or use something else.

Technically, paging can only happen with an OS running, so if the OS is off the file can be skipped - it won't be "empty", per se unless it was zeroed out during shutdown, but anything in it can safely be considered useless for imaging purposes (unless the machine crash dumped and is rebooting, in which case the paging file is the memory.dmp file, and should be kept until after the OS reboots - and you should probably not be imaging that of course ).
My System SpecsSystem Spec
22 Jan 2015   #26
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

If anyone knows how to exclude files with Macrium free, I'd like to know.
I won't stop using it because I can't exclude files, but i would prefer these files aren't in the backup image.

I have 4-6 GB RAM and manually set the pagefile to 1 GB, so i'm not a good test case to see how much difference a LARGE pagefile affects a backup image file size.

Guess it's up to the OP or anyone with a lot of RAM and a large pagefile, to test if reducing the pagefile size makes a difference in the backup image file size.
My System SpecsSystem Spec
22 Jan 2015   #27
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

I don't think you can exclude files from the image with Macrium. It is not in their features list.

Macrium Reflect FREE Edition - Information and download
My System SpecsSystem Spec
07 Feb 2015   #28
BrassCat

Win 7 Pro 64 bit
 
 
How my system has been running.

Hello the thread and responders'

Since my last post I began running with no page file at all. There are some artifacts I noticed. Perhaps a week ago, I restarted the page file at a fixed length of 2gb. The same "funnies" are still there, minor things that I believe are internet site or driver related.

Since returning to the page file, fixed 2gb, the file has of course reappeared (C drive). When checking on the fixed length page file, it shows a last modified date and time of when my system booted up, so indicating it has not been used except in booting (probably in initialization).

From reading the recommended website (from this thread) I am lead to believe that it will not be used until
I exhaust my RAM resources first, and that has not happened.

In my initial post, I had a wrong understanding the OP sys WIN7 was using it to page system files. It does not. Not in my system, because its last update is only from when I boot each time

Thanks for the interest and responses. I will further modify the page file mode I will use. I will only allow the OS to create the page file when it needs to. My estimate now is that it will not be created, and if so only when I have exhausted the 24gb of RAM (Which I do not expect to do).

Thanks
My System SpecsSystem Spec
08 Feb 2015   #29
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Pagefile & Macrium

Quote   Quote: Originally Posted by DavidE View Post
If anyone knows how to exclude files with Macrium free, I'd like to know.
I won't stop using it because I can't exclude files, but i would prefer these files aren't in the backup image.

I have 4-6 GB RAM and manually set the pagefile to 1 GB, so i'm not a good test case to see how much difference a LARGE pagefile affects a backup image file size.

Guess it's up to the OP or anyone with a lot of RAM and a large pagefile, to test if reducing the pagefile size makes a difference in the backup image file size.
Well personally I swap the pagefile onto a non-windows partition and it's a fixed size. There is a small 16Mb page file on the windows partition and that's the only pagefile that gets included in Macrium backup images of my windows partition. Additionally all page files are set to be cleared on shutdown.

Removing Win 7 system file use of paging file-virtual-memory.jpg


My System SpecsSystem Spec
08 Feb 2015   #30
cluberti

Windows 10 Pro x64
 
 

Quote   Quote: Originally Posted by BrassCat View Post
Since returning to the page file, fixed 2gb, the file has of course reappeared (C drive). When checking on the fixed length page file, it shows a last modified date and time of when my system booted up, so indicating it has not been used except in booting (probably in initialization).
Incorrect - the file is (re)generated on boot, and there's a persistent handle to it from the kernel. Reads and writes to it are done via the memory manager, and they generally will not trigger an update to the file's date/time (I'm actually not entirely sure why that is, and I don't care enough to research it).

Quote   Quote: Originally Posted by BrassCat View Post
From reading the recommended website (from this thread) I am lead to believe that it will not be used until I exhaust my RAM resources first, and that has not happened.
Also not entirely true, but in general modified pages won't go to the paging file unless those pages are needed.

Quote   Quote: Originally Posted by BrassCat View Post
Thanks for the interest and responses. I will further modify the page file mode I will use. I will only allow the OS to create the page file when it needs to. My estimate now is that it will not be created, and if so only when I have exhausted the 24gb of RAM (Which I do not expect to do).
If you leave it at OS managed, it will generate and keep a 24GB page file, if your system has 24GB of RAM on boot. Your best bet if you're creating a system to be used for imaging is to set the paging file to the smallest amount possible (for both initial and max sizes) - this is usually a few hundred MB at most.
My System SpecsSystem Spec
Reply

 Removing Win 7 system file use of paging file




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Paging File
When I go to boot up the computer sometimes it states that my computer has made a temp paging file. Doesn't tell me where, it side it did. I have a RAM Disk installed which I've told the paging file to go to, to include my temp files. I've done this because I have an SSD.
Performance & Maintenance
What should I set my paging file to?
My ram is 4.00gb (3.80 usable). I now have my paging file set to 0. Someone told me not to this, so can anyone help me?
Performance & Maintenance
Tut for changing paging file??
Has any got a link for one? cant seem to see one there! Thanks! :D
Performance & Maintenance
SSD and paging file(s).
So many different "recommendations" - which is best and why 1) Keep page file on C: drive system managed 2) Keep page file on C: fixed small size if you have lots of ram 3) Move page file to another drive, system sized 4) Set 2nd system managed page file on a second drive, small page file on...
Hardware & Devices
Paging File
When my system boots I get a message that there is no paging file and windows will set a tempoary one. I have 4 gigs of ram so I go through the procedure of setting a page file size and reboot after which I get the same message. Can someone tell me what I must do to correct this? Thanks, Bob
Performance & Maintenance
Paging file system will not set
Just love these new issues with the RTM bits. Never saw on earlier builds. So, I have a computer that defaults to no paging file set. No matter what I try, it will not let any paging file be set, always goes back to nothing set. Any ideas? Dave
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:31.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App