The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Virtual Memory

    Discussion in 'Windows OS and Software' started by mickeymouse, Jul 10, 2007.

  1. mickeymouse

    mickeymouse Notebook Enthusiast

    Reputations:
    0
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    5
    In Windows XP, I got a message that virutal memory is low, and something about the system will try to adjust. What does it mean, and what can I do about it?
     
  2. msiner

    msiner Notebook Consultant

    Reputations:
    5
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    30
    Windows uses a file to simulate having more memory than physically available in the system. To see/adjust the VM settings, go to (right click)My Computer -> Properties -> Advanced -> Performance(Settings) -> Advanced. There you will see your VM settings and be able to click the Change button. The best option for novices is to set it to "System managed size" and then click Set. That way Windows will be able to grow the VM file as needed. Changing the setting might force you to reboot. Before trying to mess with it, just keep going until you hit the error again.
     
  3. Overclocker

    Overclocker Notebook Evangelist

    Reputations:
    28
    Messages:
    355
    Likes Received:
    0
    Trophy Points:
    30
    You'll only have to reboot if you try to shrink or eliminate the pagefile. Otherwise, you're set. You can get an idea of how much memory (page + real) you have free by looking at the memory graph in the task manager.
     
  4. yuio

    yuio NBR Assistive Tec. Tec.

    Reputations:
    634
    Messages:
    3,637
    Likes Received:
    0
    Trophy Points:
    105
    Or upgrade your ram

    how much do you have?
     
  5. mickeymouse

    mickeymouse Notebook Enthusiast

    Reputations:
    0
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    5
    I have 512 mb of ram. That is the max for this computer.
     
  6. chimpanzee

    chimpanzee Notebook Virtuoso

    Reputations:
    683
    Messages:
    2,561
    Likes Received:
    0
    Trophy Points:
    55
    A sign that you have out run your computer, may be time for a new one. XP by default allocate reasonable page file to supplement physical RAM size you have and if it needs to extend that, it means your working set is larger than desirable. If this is an occasional thing(or may be some buggy program like firefox), that is fine. But otherwise, you would see the disk keep on spinning and the computer becomes very slow.
     
  7. vaio2k7

    vaio2k7 Notebook Evangelist

    Reputations:
    91
    Messages:
    549
    Likes Received:
    0
    Trophy Points:
    30
    How much virtual memory are you Vista users allocating?

    How much virtual memory should I allocate for my machine? See my signature for specifications of my FZ160.

    Thanks in advance.
     
  8. -Recoil-

    -Recoil- Notebook Consultant

    Reputations:
    9
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    30
    well i read somehwere to allocate about 1.5x of your system ram to VM...

    so if you have 2gb RAM, put VM to 3gb...
     
  9. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    Enough.

    Terrible advice. I've heard the same rumor, and it makes absolutely zero sense.
    It works the opposite way.
    The less RAM you have, the bigger pagefile you need. If you have 4GB RAM, you might be able to get by without a pagefile.

    If you have 512MB RAM, you can in theory end up needing 3.5GB pagefile.

    Try making that fit into the 1.5x theory.

    It's actually quite simple.
    All the applications you've got running use virtual memory. Virtual memory is a combination of physical RAM and the pagefile. Windows decides which data goes in physical RAM, and which goes to the pagefile. The application is not away of that. It just requests the memory it needs.

    So here's the one and only true equation for "how big should my pagefile be":
    RAM + pagefile = enough
    or
    pagefile = enough - RAM

    Where RAM is the amount of physical memory on your system, and enough is the largest amount of memory you're ever going to need at any one given time.

    And what do you lose by making the pagefile bigger?
    Harddrive space. Nothing else. Performance does not suffer. There's absolutely no reason not to make the pagefile big enough to ensure you don't run out of memory.
     
  10. -Recoil-

    -Recoil- Notebook Consultant

    Reputations:
    9
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    30
    Well like i said, i only read it somewhere so i wasnt 100% sure aswell... infact i think i read it on this forum somewhere...

    well i think that clears things up :)
     
  11. Sub-D

    Sub-D Notebook Evangelist

    Reputations:
    56
    Messages:
    608
    Likes Received:
    0
    Trophy Points:
    30
    Running Vista I have approximately 2800MB of HDD space allocated for Virtual Memory along with 2.5GB of RAM. Everything seems to run along rather merrily.
     
  12. MonsterMaxx

    MonsterMaxx Notebook Evangelist

    Reputations:
    13
    Messages:
    540
    Likes Received:
    0
    Trophy Points:
    30
    umm, windows needs some pagefile to be happy. At least the same amount of physical RAM you have. Windows is always paging. It gets all unhappy when there's no pagefile.

    Yea, I've tried it. Run the benchies and stopwatch. Windows needs some pagefile.

    Rule of thumb is 2x the physical ram. However when the physical get up there (2GB or more) you can reduce this.
     
  13. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    I did say might ;)
    Of course, the specific OS might behave a bit quirky in some cases, but that doesn't change the basic rule. Your RAM + pagefile combined has to be big enough.

    Thank you for repeating the same rumor I just tried to get rid of.
    1.5X, 2X, 14.932X your RAM, it is not true, no matter the multiplier.

    It is the exact opposite. The LESS RAM you have, the MORE pagefile you need.

    Pretending that "<insert number> times your RAM is ideal" does nothing more than confuse and mislead people, and lead them to unstable computers. Yay. Congratulations.

    So can we please stop repeating this nonsense now?
     
  14. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    I'll typically tell people to use about a 1-1.5GB pagefile. If you're using that much of your pagefile, your system has bogged down to nothing if you don't have much memory, or it's just supporting your normal operations if you have a lot of memory (2GB or so). Tends to be pretty safe. 1.5x was a valid rule of thumb when system memory sizes were between 64 and 256MB of RAM, but now? All it'll do is eat up disk space unnecessarily.

    That said, there ARE reasons to have a larger pagefile, but even gamers won't run into those. You pretty much have to be seriously using the machine, and not worrying a lot about real-time performance, to run into needing a larger pagefile.

    Yup. All that you're missing is disk space that could be used for data instead of an empty pagefile. You're basically setting aside 1.5GB (or more) of your hard drive as completely unused space, for no reason. It won't hurt performance, but that's another game you could install and still have room to defrag...
     
  15. ScuderiaConchiglia

    ScuderiaConchiglia NBR Vaio Team Curmudgeon

    Reputations:
    2,674
    Messages:
    6,039
    Likes Received:
    0
    Trophy Points:
    205
    Why all this talk about specifying the pagefile size at all? Why not just let the OS maintain the size itself? Isn't that what the "system managed size" option is for? Yes, I know doing a setting it to NO pagefile, defragging and then setting it to some specific size results in a contiguous pagefile. I've done that, before but saw ZERO difference in performance. The "system managed size" has worked fine for me and on the off chance I overload things the system can easily create more virtual memory space. The usual, "your mileage may vary" applies of course.

    Gary