How much virtual memory is optimal


  1. Posts : 35
    Windows 7 Ultimate x64
       #1

    How much virtual memory is optimal


    Hi,

    I have the 64-bit version of Windows 7 installed with 4GB of RAM. I run virtualisation applications like virtualbox as well as IDEs like Netbeans (a bit heavy on memory) and Visual Studio 2010. I frequently find the memory consumption shooting above 3500 MB. Is it normal?

    Also my virtual memory (min & max) is manually set to 8 GB. Since I have never seen the commit charge going beyond 4GB, I assume that the virtual memory remains unused. So, I wish to know how much virtual memory is actually required by my system and whether I should leave it to be managed by the system or set it manually.
      My Computer


  2. Posts : 17,796
    Windows 10, Home Clean Install
       #2

    Welcome
    I was trying to research an answer and discovered this article. I think that you will enjoy and learn
    Introduction to virtual memory and how much virtual memory you need for your system
      My Computer


  3. Posts : 240
    Windows 7 Enterprise x64 SP1, Ubuntu 11.04 x64
       #3

    "How much virtual memory is optimal?"

    In my opinion, with modern operating systems like Windows 7, you'll get the best virtual memory performance by letting the OS manage it. On the three Win 7 x64 systems that I own I've noticed that by default Win 7 sets the VM to roughly 2x installed ram and everything runs quick and snappy, with very little disk thrashing.

    I don't use the memory-intensive applications that you do, so perhaps yours is a special case, but I think even then Win 7 will handle it better than setting it manually.

    Just my opinion of course
      My Computer


  4. Posts : 7,878
    Windows 7 Ultimate x64
       #4

    I'll second the recommendation to just let the OS manage it. Unless you are tight on space, or running your pagefile on an SSD....it's just let the OS take care of things.
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    Mark Russinovich has a different take on what you should set virtual memory to: Mysteries of Windows Memory Management Revealed Watch part one, towards the end. I'll take Mark's advice over anyone else.
      My Computer


  6. Posts : 35
    Windows 7 Ultimate x64
    Thread Starter
       #6

    logicearth said:
    Mark Russinovich has a different take on what you should set virtual memory to: Mysteries of Windows Memory Management Revealed Watch part one, towards the end. I'll take Mark's advice over anyone else.
    I read that article and I think that he has a good point. But since I have about 155 GB of free disk space, it really does not matter if I 4 to 8 GB are used up by virtual memory. Correct me if I am wrong, I assume that excess of virtual memory will not have a negative impact on the performance. Besides, can any one of you tell me how much the OS would allocate by default?
      My Computer


  7. Posts : 17,796
    Windows 10, Home Clean Install
       #7
      My Computer


 

  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 19:04.
Find Us