OK thats fair, but say I have 4gb of memory, then i can have 4gb of programs open before it asks me to close some programs?? As apposed to someone with 1gb of ram and a 1gb page file who can have 2gb of programs open.
Sorry if i seem argumentative im just trying to get a good view of the purpose of virtual memory.
It seems to me that when deciding if you really need a page file or not you should look and see how much memory you are likely to use, if your memory requirement exceeds the amount of available system memory you have then you need virtual memory. If you will never have >4gb of memory usage then with 4gb of memory you dont really need a page file. I dont think its a matter of you need as much page file as you have ram. As far as i can see you need as much virtual memory as you need memory for the program that you intend to run.
That problem could arise no matter how much pagefile you have. You could just keep opening more apps until you have no virtual memory left.
Edit: As a silly but good example i think, say i have an XP machine with 1 terrabyte of memory, should i have a 1 terrabyte page file?
Sorry if i seem argumentative im just trying to get a good view of the purpose of virtual memory.
It seems to me that when deciding if you really need a page file or not you should look and see how much memory you are likely to use, if your memory requirement exceeds the amount of available system memory you have then you need virtual memory. If you will never have >4gb of memory usage then with 4gb of memory you dont really need a page file. I dont think its a matter of you need as much page file as you have ram. As far as i can see you need as much virtual memory as you need memory for the program that you intend to run.
Or would you rather have a problem that the Os wanted to move 2GB of mem content to pagefile for whatever reason but could not because you only gave it 1GB pagefile & popup & say you need to close some apps.
That problem could arise no matter how much pagefile you have. You could just keep opening more apps until you have no virtual memory left.
Edit: As a silly but good example i think, say i have an XP machine with 1 terrabyte of memory, should i have a 1 terrabyte page file?
Last edited: