- If VM Size isn't the right value to look at, what is? How can I see how much of a process' memory is swapped out to disk? Wintop for 9x used to do this pretty well. I was just wondering if Task Manager or Performance Monitor had the same facilities.
You really can't without some real digging, I think perfmon might be able to give some clues, but it's not tracked in the way your thinking of it.
- If a Photoshop-like app runs on a 1+GB system, would an allocated contiguous block of virtual memory map straight into the RAM instead of RAM and disk?
The issue isn't the machine having a gig of memory free, the issue is photoshop needing enough contigous free memory in it's address space (a whole different discussion). Unnamed memory mapped files are one way of doing this, and is what some developers have used.
- If little/none of your swap file is being used, why did you make a 2 gig swap file?
I didn't, I let the OS do what it wanted to do. My boot volume is dual striped WD 120's, I currently (after system restore, hibernation, paging, etc) still have about 188gig free. So, I'm not really sweating letting the OS do what it wants. And as Nothinman pointed out, I sometimes need full memory dumps, so I need the swap file big enough to accomidate that.
- Why would a game like NWN (or any app in general) force a user to allocate 300 MB of swapfile? Does that mean that the game really is trying to use 300 MB of swap space and the OS is causing the app to fail? Or is it more of an artificial limit set by developers?
I've not seen that specific game, but I have seen programs check for a minimum because they determine that the program doesn't gracefully handle low memory situations. It's kinda blanket safety net for them. It doesn't mean the app is neccesarily using that space.
- Can I safely ignore any low VM warnings if I'm using a fixed size swapfile? If not, why not?
If the OS complains that your low on memory, then your low on memory. You can ignore it, the results when you actually 'run out' of memory should be gracefull application recover, but in practice 'bad things occur'.
- What does NT consider to have more priority, System File Cache or Available Memory? If more memory was needed, would NT reduce the SysFile Cache size to accommodate or would it start using the swapfile? Is there a way to tune the priority?
The file system cache shrinks to some minimum size giving priority to application memory. You can adjust this, but you shouldn't need to (even tho you might see that 1/2 your memory (or 3/4 in my current case) is allocated to caching, the system will take that right down real quick if it needs the memory. The memory manager will (too a very high degree) trade of disk cache to avoid incurring paging overhead).
The point behind using a RAMdisk was to just make sure that Windows is using an overwhelming majority of its memory in RAM, not disk. But if Windows is already doing that like you say it is, then the whole point is moot. I only wish now that could have been said earlier.
Sorry, re-reading the thread it could have been clearer...
Bill