Quote:
Originally Posted by
Erick 
but aren't there some programs that use page file independent of the size of the RAM?
I used to play anno 1404, that would only use about 1.5gb RAm and 10gb of pagefile, instead of using 4gb ram and 6gb pagefile.
Now with anno 2070 i havent checked to see what it does.
No. Programs don't use the page file directly. They don't get to choose where their memory is stored. They simply ask Windows for a chunk of memory, and it either satisfies the request if it fits within system commit, or fails if it does not. (Admittedly this is a very watered down explanation).
This is the important distinction between virtual memory and physical memory.
What you were most likely seeing was 1.5GB of virtual memory committed, and 10GB total virtual address space usage (this wouldn't be possible on 32-bit systems, though as the process address space is only 2GB regardless!). It may have reserved 10GB virtual memory, but only actually touched 1.5GB of it. Only when a program touches its reservation (write/read) does Windows commit it.
Edited by tompsonn - 1/1/12 at 11:13am