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

20 Jan 2015   #1

Win 7 Pro 64 bit
Removing Win 7 system file use of paging file

Hello the Forum, I have not found, but would guess there is a registry method for turning off Windows 7
use of the paging file for system files. I have 24G ram, but win 7 immediately offloads to the paging file before I even run any applications. Not trying to stop Win 7 from paging programs and program data if the need arises. It should not, but one never knows.

Thanks for any information, BrassCat

My System SpecsSystem Spec
20 Jan 2015   #2

Windows 7 Pro 64 bit

Windows doesn't normally copy anything in exe, dll or similar files to the pagefile. There are some unusual situations where this is done but you have no control over that. There normally is no need to do so. When code in exe or dll files is paged out it is simply dropped from memory, secure in the knowledge that it can be reloaded from the original files if needed.

The pagefile is only used for data that does not exist in any other file. Also understand that the data is initially copied, not moved to the pagefile. The data initially remains in RAM. Only in the event that the memory is needed for other purposes would it exist only in the pagefile. With 24 GB RAM that probably isn't going to happen very often. Copying data to the pagefile can occur in parallel with other operations and there is usually no need to wait for it to finish. The performance cost of copying data to the pagefile is minimal.

So basically you are wanting to stop what Windows doesn't normally do anyway.

Edit: The use of the pagefile is the exclusive domain of the system memory manager. Applications or other system components have no access. The user is provided with almost no control over this. This is as it should be.
My System SpecsSystem Spec
20 Jan 2015   #3


If System Managed setting is using 24gb of drive space you'd like back, then you can Change Virtual Memory Paging File
My System SpecsSystem Spec

20 Jan 2015   #4
Layback Bear

Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64

When I first got Windows 7 I tinkered with pagefile, prefetch virtual memory and it was a waste of time. I just let Window 7 manage all memory.
Windows 7 know what to do with memory and when all by itself and it does a great job in my opinion.
My System SpecsSystem Spec
20 Jan 2015   #5
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

From where do you get the idea that system files are being paged.
My System SpecsSystem Spec
20 Jan 2015   #6

Win 7 Pro 64 bit

Thanks for asking.

Looking in Task Manger, performance tab. Bottom left, Kernel Memory, next line Paged 224 (Mb)
I have since posting here turned Page files off, rebooted. This reading stays essentially the same. So, currently no page file,
Plenty of Ram 21.6Gb. Kernel Memory Paged must mean something else. Currently I am doing nothing that would require
a memory dump (one noted but rare problem with no page file.

Also, an apparent misunderstanding from reading Windows 7 Tweaks by Wiley Pub.

I thank the others who posted also, was just doing some tests and rereading re my post.
My System SpecsSystem Spec
20 Jan 2015   #7
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

An interesting article on the matter by Mark Russinovich (an MS fellow)

Blogs - Mark's Blog - Site Home - TechNet Blogs
My System SpecsSystem Spec
21 Jan 2015   #8

Windows 7 Pro 64 bit

Kernel Memory Paged does not mean what it seems.

There are 2 pools from which kernel level components can allocate memory:
1. Non Paged Pool: Data in this pool can never be paged out under any circumstances.
2. Paged Pool: This memory CAN be paged out at the discretion of the memory manager. Note the term is CAN.
Maybe a better term would have been Pageable Pool.

Task Manager shows the current size of allocations from these 2 pools. It tells us nothing of how much data is actually paged out and there is nothing in Task Manager that will tell us this. It really isn't that important. There is no provision for controlling this.

Note that there is an enormous amount of misinformation on the Internet concerning the pagefile and memory management. Even published books sometimes contain errors.
My System SpecsSystem Spec
21 Jan 2015   #9

Windows 7 pro 64-bit

I agree. Memory management is best left to windows. It will still use the page file for certain tasks and you shouldn't even try to change that. What you can do is decrease the amount of space used by the pagefile because windows sets it by default to 1.5 times the size of your real memory. In your case you might want to decrease that.
My System SpecsSystem Spec
21 Jan 2015   #10

Windows 10 Pro x64

Paged pool memory is called that because, in a pinch, it can be paged out to the paging file (and of course nonpaged pool cannot). But as WHS and LMiller7 have pointed out, what you see in task manager is not what you think it is.

Unless you've got a reason to change the paging file settings in Windows (disk space concerns, usually), there are no real valid reasons to do so.
My System SpecsSystem Spec

 Removing Win 7 system file use of paging file

Thread Tools

Similar help and support threads
Thread Forum
System Paging File
Hi There, I was wondering if someone with more knowledge than me can assist. I have 16GB DDR3 1600 Ram installed on Windows 7 SP1 64 Bit. Here is a screenshot of my Paging file tab showing what's allocated:...
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
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 19:33.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App