Removing Win 7 system file use of paging file

Page 1 of 3 123 LastLast

  1. Posts : 29
    Win 7 Pro 64 bit
       #1

    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 Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    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 Computer

  3.    #3

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


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    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 Computer


  5. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #5

    From where do you get the idea that system files are being paged.
      My Computer


  6. Posts : 29
    Win 7 Pro 64 bit
    Thread Starter
       #6

    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 Computer


  7. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #7

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

    Blogs - Mark's Blog - Site Home - TechNet Blogs
      My Computer


  8. Posts : 2,497
    Windows 7 Pro 64 bit
       #8

    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 Computer


  9. Posts : 1,835
    Windows 7 pro
       #9

    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 Computer


  10. Posts : 2,528
    Windows 10 Pro x64
       #10

    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 Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 02:40.
Find Us