+ Post New Thread
Results 1 to 4 of 4
Windows 7 Thread, Setting virtual memory - Good Practice in Technical; hi peeps what are the general rules you go by with regards to virtual memory? do you let the system ...
  1. #1
    Tesla's Avatar
    Join Date
    Nov 2013
    Location
    Milton Keynes
    Posts
    754
    Thank Post
    100
    Thanked 133 Times in 104 Posts
    Blog Entries
    1
    Rep Power
    38

    Setting virtual memory - Good Practice

    hi peeps

    what are the general rules you go by with regards to virtual memory? do you let the system deal with it, or do you find other methods better (such as setting up paging files etc on a separate partition etc)

    if you have lots of RAM (i have 8GB in my home pc) do you set it low?

    my "system managed" paging file was made to be about 8gb, which seems surplus to requirements with 8gb of ram already on the machine? (i don't do particularly heavy duty stuff either)

    thoughts on this appreciated. Cheers.
    Last edited by Tesla; 21st May 2014 at 05:50 PM.

  2. #2
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,244
    Thank Post
    51
    Thanked 275 Times in 213 Posts
    Blog Entries
    6
    Rep Power
    113
    General practice is to either let the OS handle it or to set it to 1.5x the amount of physical RAM.

  3. #3


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,765
    Thank Post
    222
    Thanked 2,630 Times in 1,938 Posts
    Rep Power
    779
    Quote Originally Posted by Tesla View Post
    what are the general rules you go by with regards to virtual memory?
    Either let Windows manage the page file or adjust the size of it based on your peak commit charge. See the explaination from Microsoft's Mark Russinovich below...

    Pushing the Limits of Windows: Virtual Memory

    Quote Originally Posted by Mark Russinovich
    How Big Should I Make the Paging File?
    Perhaps one of the most commonly asked questions related to virtual memory is, how big should I make the paging file? There’s no end of ridiculous advice out on the web and in the newsstand magazines that cover Windows, and even Microsoft has published misleading recommendations. Almost all the suggestions are based on multiplying RAM size by some factor, with common values being 1.2, 1.5 and 2. Now that you understand the role that the paging file plays in defining a system’s commit limit and how processes contribute to the commit charge, you're well positioned to see how useless such formulas truly are.

    Since the commit limit sets an upper bound on how much private and pagefile-backed virtual memory can be allocated concurrently by running processes, the only way to reasonably size the paging file is to know the maximum total commit charge for the programs you like to have running at the same time. If the commit limit is smaller than that number, your programs won’t be able to allocate the virtual memory they want and will fail to run properly.

    So how do you know how much commit charge your workloads require? You might have noticed in the screenshots that Windows tracks that number and Process Explorer shows it: Peak Commit Charge. To optimally size your paging file you should start all the applications you run at the same time, load typical data sets, and then note the commit charge peak (or look at this value after a period of time where you know maximum load was attained). Set the paging file minimum to be that value minus the amount of RAM in your system (if the value is negative, pick a minimum size to permit the kind of crash dump you are configured for). If you want to have some breathing room for potentially large commit demands, set the maximum to double that number.

    Some feel having no paging file results in better performance, but in general, having a paging file means Windows can write pages on the modified list (which represent pages that aren’t being accessed actively but have not been saved to disk) out to the paging file, thus making that memory available for more useful purposes (processes or file cache). So while there may be some workloads that perform better with no paging file, in general having one will mean more usable memory being available to the system (never mind that Windows won’t be able to write kernel crash dumps without a paging file sized large enough to hold them). (Source)
    Quote Originally Posted by Tesla View Post
    such as setting up paging files etc on a separate partition etc
    There isn't any point in doing this if the partition is located on the same hard drive as the OS since it will increase seek times unnecessarily.

    Quote Originally Posted by Tesla View Post
    If you have lots of RAM (I have 8GB in my home pc) do you set it low?
    My home PC has 32GB RAM and the page file is currently 4.8GB. I just let Windows manage it.

    If you had hundreds of gigs of RAM, it would be a different matter, but 8GB RAM isn't a lot.

    Quote Originally Posted by Norphy View Post
    General practice is to either let the OS handle it or to set it to 1.5x the amount of physical RAM.
    See article above.
    Last edited by Arthur; 21st May 2014 at 06:10 PM.

  4. #4

    Join Date
    Sep 2012
    Posts
    143
    Thank Post
    17
    Thanked 22 Times in 19 Posts
    Rep Power
    7
    If I set one, I usually set the min and the max to 1.5x the RAM. Home PC has 16GB RAM and a page file of 24GB. For normal machines that aren't heavily used, then Windows will deal with it, however if you are doing a lot on it, then set one manually. I have previously used a 20GB SSD for it, but I found that installing it in my netbook was far better use of it really.

SHARE:
+ Post New Thread

Similar Threads

  1. Good practice with Fronter?
    By Mikey_Mike in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 17th June 2010, 02:25 PM
  2. Macromedia Director 6.0 Player 1Gb Virtual Memory Bug
    By flyinghaggis in forum Educational Software
    Replies: 9
    Last Post: 21st January 2010, 04:36 PM
  3. Sharepoint features - good practice examples
    By meastaugh1 in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 30th March 2007, 07:14 AM
  4. Good practice for server set up for thin clients
    By tosca925 in forum Thin Client and Virtual Machines
    Replies: 2
    Last Post: 17th March 2007, 06:01 PM
  5. Virtual memory minmum too low
    By alexknight in forum Hardware
    Replies: 8
    Last Post: 22nd December 2005, 06:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •