Why does Vista use so much memory

dirtydog said:
How is it so different from telling Windows XP to use a large system cache (via the registry) and setting it to memory usage for "best performance of system cache" which is also the default Windows 2003 setting IIRC.

Presumably because it's been coded to behave that way while maintaining application performance, whereas in XP its more of a tradeoff.

To be honest I'm 100% sure what the changes are in terms of algorithms etc, but there are benchmarks out there showing clear improvements.
 
dirtydog said:
No idea. Even on the login screen, I see the HDD going nuts. Is it just loading loads of software into RAM in case I need it? I can't see the point of that at all.
Actually, I read somewhere (can't remember where now, so many sites I've looked at about Vista) that its doing exactly that. It works out what programs you're using the most and preloads them into memory so when you need it, up it comes in a flash. So if you use Media Player hours every day, then its loaded up by the time you've logged in, ready to go.
 
NathanE said:
Yup that's called Superfetch.

Clever little thing too. I've noticed my most used applications loading quicker, it's a really smart little thing. It doesn't even hurt the loading times of your other, less used programs either, they load just as fast.

In XP I noticed that Adobe reader put an "Adobe fast loader" type application in my startup folder, i'm guessing that Superfetch works similar to that, except for everything rather than one program at a time.
 
So all this cached memory is already in use helping apps that are already open?

ram.jpg
 
Lysander said:
So all this cached memory is already in use helping apps that are already open?

The memory in use as cache will contain files you recently accessed (and therefore could be expected to need again), bits of the operating system that aren't in use right now but have been at some point or are likely to be needed later and, most importantly, programs that Windows has determined you use a lot and are likely to use in the current time period.

The system can overwrite any of the cache at any time when a program actually wants to reserve more memory for itself, with no loss of data. That's why it's not listed as in use on the green bar. While it's not exactly free, it's not reserved for anything either and is not locked out. It just gets used to maximise performance rather than sitting there doing nothing.

Regarding harddisk activity on the login screen, the suggestion above that it's due to Windows pre-loading applications into the cache is probably right. Also, as you're on the login screen and therefore not doing anything with the system right now, Windows can prioritise housekeeping tasks like updating the search index.

On a similar note, Vista is now aware of multimedia applications. This means that when you're running a DVD player, the system knows you're doing something which requires real-time uninterrupted decoding and can prioritise that program (and background tasks) accordingly. This should mean you're much less likely to see your video skip during playback.


It's all about being smart and making the maximum use of resources.
 
Last edited:
Back
Top Bottom