Vista memory usage
-
A few threads ago someone was slamming Vista again and one of the topics that keeps getting referenced is that it uses too much memory so it inherently bad. This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer: question shouldn't be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?" [^]
All programmers are playwrights and all computers are lousy actors.
why oh why does everyone seem to have troubles with OS? Does anyone do a custome install and proper config. I am currently running Vista on a P4 with 1GB memory. I have my iTunes running, I'm here roaming around CP, and I am doing Google searches in another browser and I am using about 45% of my memory. I can open VS2008 Express and work on a project also and still not use all my memory. What is everyone doing that is giving them problems?
If you can read, you can learn
-
A few threads ago someone was slamming Vista again and one of the topics that keeps getting referenced is that it uses too much memory so it inherently bad. This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer: question shouldn't be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?" [^]
All programmers are playwrights and all computers are lousy actors.
John C wrote:
This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer:
This seems like a fantastically bad idea to me. Ok, it may work well for the "average" user who is almost never going to run a high-memory-load application like a game or Visual Studio, but for everyone else it's going to get in the way when the app you're loading suddenly asks for 500MB or 1GB of RAM. Not to mention that there is a distinct benefit to keeping some of that RAM unused, even if it is powered - power usage and hardware life expectancy. It's an idea that makes sense, and yet, it seems to be lacking something..
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
-
why oh why does everyone seem to have troubles with OS? Does anyone do a custome install and proper config. I am currently running Vista on a P4 with 1GB memory. I have my iTunes running, I'm here roaming around CP, and I am doing Google searches in another browser and I am using about 45% of my memory. I can open VS2008 Express and work on a project also and still not use all my memory. What is everyone doing that is giving them problems?
If you can read, you can learn
justfunnin wrote:
I am currently running Vista on a P4 with 1GB memory. I have my iTunes running, I'm here roaming around CP, and I am doing Google searches in another browser and I am using about 45% of my memory.
A couple webbrowsers and a mp3 search/download program, and its using that much of 1gb? Wow! I remember not too long ago when 1gb of memory on XP was only needed for advanced systems used for video editing and super intense computing. I used to have an XP dekstop with 256mb of ram. It ran superbly, and it was great for gaming. Doom 3 only requires 384mb of ram installed on an XP system. I mean, come on people cant you see the bloat that is happening?!
Word, write letters and sh*t yo.
-
A few threads ago someone was slamming Vista again and one of the topics that keeps getting referenced is that it uses too much memory so it inherently bad. This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer: question shouldn't be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?" [^]
All programmers are playwrights and all computers are lousy actors.
People do keep complaining about Vista's memory usage, and perhaps fairly. However memory is so cheap that, in my opinion, it's requires no great shakes to upgrade. When I built my new computer recently I knew I'd be getting a 64-bit O/S and saw no reason whatsoever not to get 8Gb's of RAM. With all that available space Vista with VS2008 running consumes approx 1.71 GB's... and it runs faster than just about any other computer I've ever used.
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
-
People do keep complaining about Vista's memory usage, and perhaps fairly. However memory is so cheap that, in my opinion, it's requires no great shakes to upgrade. When I built my new computer recently I knew I'd be getting a 64-bit O/S and saw no reason whatsoever not to get 8Gb's of RAM. With all that available space Vista with VS2008 running consumes approx 1.71 GB's... and it runs faster than just about any other computer I've ever used.
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
martin_hughes wrote:
People do keep complaining about Vista's memory usage, and perhaps fairly. However memory is so cheap that, in my opinion, it's requires no great shakes to upgrade.
When are programmers going to make computers use their resources to do more useful and sophisticated things instead of being lazy asses and writing things like this...
//program that does some calculations about the whopping 10 customers we have
double[] ageOfCostomers = new double[uint.MaxValue];...
foreach(double age in ageOfCostomers)
{
if(age > 0) {
for(uint i = 0; i <= 555555555; i++){ // do some unessessary string operations} }
}martin_hughes wrote:
it's requires no great shakes to upgrade.
Ssy that to the family who worked hard to save up just enough money to buy a family computer.
Word, write letters and sh*t yo.
-
justfunnin wrote:
I am currently running Vista on a P4 with 1GB memory. I have my iTunes running, I'm here roaming around CP, and I am doing Google searches in another browser and I am using about 45% of my memory.
A couple webbrowsers and a mp3 search/download program, and its using that much of 1gb? Wow! I remember not too long ago when 1gb of memory on XP was only needed for advanced systems used for video editing and super intense computing. I used to have an XP dekstop with 256mb of ram. It ran superbly, and it was great for gaming. Doom 3 only requires 384mb of ram installed on an XP system. I mean, come on people cant you see the bloat that is happening?!
Word, write letters and sh*t yo.
-
Yeah, and I read similar articles before. Its no excuse.
Word, write letters and sh*t yo.
-
martin_hughes wrote:
People do keep complaining about Vista's memory usage, and perhaps fairly. However memory is so cheap that, in my opinion, it's requires no great shakes to upgrade.
When are programmers going to make computers use their resources to do more useful and sophisticated things instead of being lazy asses and writing things like this...
//program that does some calculations about the whopping 10 customers we have
double[] ageOfCostomers = new double[uint.MaxValue];...
foreach(double age in ageOfCostomers)
{
if(age > 0) {
for(uint i = 0; i <= 555555555; i++){ // do some unessessary string operations} }
}martin_hughes wrote:
it's requires no great shakes to upgrade.
Ssy that to the family who worked hard to save up just enough money to buy a family computer.
Word, write letters and sh*t yo.
You're right about the bad programming practices part.
ROFLOLMFAO
-
martin_hughes wrote:
People do keep complaining about Vista's memory usage, and perhaps fairly. However memory is so cheap that, in my opinion, it's requires no great shakes to upgrade.
When are programmers going to make computers use their resources to do more useful and sophisticated things instead of being lazy asses and writing things like this...
//program that does some calculations about the whopping 10 customers we have
double[] ageOfCostomers = new double[uint.MaxValue];...
foreach(double age in ageOfCostomers)
{
if(age > 0) {
for(uint i = 0; i <= 555555555; i++){ // do some unessessary string operations} }
}martin_hughes wrote:
it's requires no great shakes to upgrade.
Ssy that to the family who worked hard to save up just enough money to buy a family computer.
Word, write letters and sh*t yo.
CataclysmicQuantums wrote:
When are programmers going to make computers use their resources to do more useful and sophisticated things instead of being lazy asses and writing things like this...
Poor coding is one thing, wanting to watch full screen HD movies on your computer is quite another.
CataclysmicQuantums wrote:
Ssy that to the family who worked hard to save up just enough money to buy a family computer.
I will. Further more I'll tell them to seek expert advice on the specifications of their new PC before parting with the cash. Besides which, owning a computer is more affordable now than it has ever been; an additional 2GB's of RAM from Crucial costs $117.99.
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
-
A few threads ago someone was slamming Vista again and one of the topics that keeps getting referenced is that it uses too much memory so it inherently bad. This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer: question shouldn't be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?" [^]
All programmers are playwrights and all computers are lousy actors.
He makes a good point. What's the point in having many gigs of memory is it's sitting there unused if it can be used at no cost and improve some operations? BTW, this guy has good articles in his blog. I just subscribed to it. Thanks!
Luis Alonso Ramos Intelectix Chihuahua, Mexico
-
John C wrote:
This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer:
This seems like a fantastically bad idea to me. Ok, it may work well for the "average" user who is almost never going to run a high-memory-load application like a game or Visual Studio, but for everyone else it's going to get in the way when the app you're loading suddenly asks for 500MB or 1GB of RAM. Not to mention that there is a distinct benefit to keeping some of that RAM unused, even if it is powered - power usage and hardware life expectancy. It's an idea that makes sense, and yet, it seems to be lacking something..
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
A few questions, though. (I genuinely don't know the answers) Does it take more time to load some data into "used" memory than into free memory? Also, I suppose "free" memory simply is marked as such (in OS tables), but electronically it contains certain random information. So, if memory is used, does it really consume more power and reduces its life expecancty?
Luis Alonso Ramos Intelectix Chihuahua, Mexico
-
A few threads ago someone was slamming Vista again and one of the topics that keeps getting referenced is that it uses too much memory so it inherently bad. This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer: question shouldn't be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?" [^]
All programmers are playwrights and all computers are lousy actors.
That someone was me, and there seems to be a bit of FUD concerning the article you cite. When Vista reports 500MB (or whatever) of memory used, that is what it means, and this figure _excludes_ any memory used for caching data read from disk. On the other hand, when Vista reports 3MB free, it is trying to tell you that it has used all your spare RAM for caching, which is exactly what it should do. So I make two observations: 1. Vista uses a lot more memory than XP 2. Vista caches more effectively than XP I think you make a lot of good points but the bottom line is simple. To run Vista effectively, you need at least 1GB, and preferably 2GB of RAM. This doesn't seem to stop hardware vendors badging machines with 512MB of RAM as 'Vista capable'; Vista incompetent would be a better description. Personally, I can put up with this. I know the score and my own machines are up to the job (some of them, anyhow). But for many it means a trip to the computer shop and I really can't condone such profligacy by Microsoft's development teams. When I have time, I might do a bit of benchmarking to see if Vista is really as slow as it feels on modest (but far from uncommon) hardware. I know for a fact that the audio system has higher CPU overheads than XP because I have (informally) benchmarked that already.
Paul Sanders http://www.alpinesoft.co.uk
-
He makes a good point. What's the point in having many gigs of memory is it's sitting there unused if it can be used at no cost and improve some operations? BTW, this guy has good articles in his blog. I just subscribed to it. Thanks!
Luis Alonso Ramos Intelectix Chihuahua, Mexico
...because it's waiting there to be filled with my stuff when I choose, as it should? I have too many big programs which I use pretty randomly and regularly for the OS to predict what I'm going to do next. This is a good post...now I have one more reason to hate Vista :laugh:
-
John C wrote:
This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer:
This seems like a fantastically bad idea to me. Ok, it may work well for the "average" user who is almost never going to run a high-memory-load application like a game or Visual Studio, but for everyone else it's going to get in the way when the app you're loading suddenly asks for 500MB or 1GB of RAM. Not to mention that there is a distinct benefit to keeping some of that RAM unused, even if it is powered - power usage and hardware life expectancy. It's an idea that makes sense, and yet, it seems to be lacking something..
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
Overwriting the cache doesn't take any longer than reading into "unused" memory. IIRC the memory manager remembers the contents of pages returned to the free pool, in case the same stuff needs to be paged in again, which is in my understanding a similar (though weaker) concept. As of today, you can't power down individual "unused" RAM segments, and as it is dynamic, virtually all power goes into the refresh (which needs to be done whether you access it or not). RAM lifetime also far exceeds todays PC lifetime. Where I see downsides is hard disk wear, and preventing HDD entering power save. Peformance-wise, the background process may thrash the disk cache, and bottlenecking HDD access by causing seeks between FG and BG process. Of course: if it can predict well, HDD access might actually become less. Depends, but you are right - this will be tuned to the averge Movie / Internet / Word user. If the background process is "lazy enough" (i.e. waits a bit before filling recently freed pages), even memory hog applications like Visual Studio aren't a problem as such - they hof anyway. Applications that randomly allocate large chunks, then free them might cause the disk to spin wildly, though.
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
My first real C# project | Linkify!|FoldWithUs! | sighist -
...because it's waiting there to be filled with my stuff when I choose, as it should? I have too many big programs which I use pretty randomly and regularly for the OS to predict what I'm going to do next. This is a good post...now I have one more reason to hate Vista :laugh:
David Lockwood wrote:
because it's waiting there to be filled with my stuff when I choose
As I said in a post above, I don't know the answer, but I believe that while loading your stuff in memory, whether that memory is "used" or "free" (marked as such in the OS's internal tables) would virtually take the same time (the freeing of used memory is logical only, and the OS doesn't actually go and set every bit to 0 -- correct me if I am wrong). And that one day, when by chace the stuff you need is already in memory, you'll see a speed improvement. Maybe for your case it's hard to predict, but what about those people that only use IE, Outlook, Word and Excel? they are predictable and thus, might see an improvement.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
-
justfunnin wrote:
I am currently running Vista on a P4 with 1GB memory. I have my iTunes running, I'm here roaming around CP, and I am doing Google searches in another browser and I am using about 45% of my memory.
A couple webbrowsers and a mp3 search/download program, and its using that much of 1gb? Wow! I remember not too long ago when 1gb of memory on XP was only needed for advanced systems used for video editing and super intense computing. I used to have an XP dekstop with 256mb of ram. It ran superbly, and it was great for gaming. Doom 3 only requires 384mb of ram installed on an XP system. I mean, come on people cant you see the bloat that is happening?!
Word, write letters and sh*t yo.
-
John C wrote:
This got me curious as to why it does use approx 1gb of memory after boot and here is at least in part the answer:
This seems like a fantastically bad idea to me. Ok, it may work well for the "average" user who is almost never going to run a high-memory-load application like a game or Visual Studio, but for everyone else it's going to get in the way when the app you're loading suddenly asks for 500MB or 1GB of RAM. Not to mention that there is a distinct benefit to keeping some of that RAM unused, even if it is powered - power usage and hardware life expectancy. It's an idea that makes sense, and yet, it seems to be lacking something..
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
I honestly haven't seen that as a problem. The only thing that has annoyed me about it is the constant hard drive access when I'm doing nothing that should be accessing the hard drive. I think it won't be long before hard drives with moving parts are obsolete (hopefully) anyway so it's all kind of a moot point then.
All programmers are playwrights and all computers are lousy actors.
-
That someone was me, and there seems to be a bit of FUD concerning the article you cite. When Vista reports 500MB (or whatever) of memory used, that is what it means, and this figure _excludes_ any memory used for caching data read from disk. On the other hand, when Vista reports 3MB free, it is trying to tell you that it has used all your spare RAM for caching, which is exactly what it should do. So I make two observations: 1. Vista uses a lot more memory than XP 2. Vista caches more effectively than XP I think you make a lot of good points but the bottom line is simple. To run Vista effectively, you need at least 1GB, and preferably 2GB of RAM. This doesn't seem to stop hardware vendors badging machines with 512MB of RAM as 'Vista capable'; Vista incompetent would be a better description. Personally, I can put up with this. I know the score and my own machines are up to the job (some of them, anyhow). But for many it means a trip to the computer shop and I really can't condone such profligacy by Microsoft's development teams. When I have time, I might do a bit of benchmarking to see if Vista is really as slow as it feels on modest (but far from uncommon) hardware. I know for a fact that the audio system has higher CPU overheads than XP because I have (informally) benchmarked that already.
Paul Sanders http://www.alpinesoft.co.uk
Paul Sanders (AlpineSoft) wrote:
To run Vista effectively, you need at least 1GB, and preferably 2GB of RAM
No argument here.
Paul Sanders (AlpineSoft) wrote:
This doesn't seem to stop hardware vendors badging machines with 512MB of RAM as 'Vista capable'; Vista incompetent would be a better description.
Yeah and this is entirely at the feet of Microsoft. They set the bar too low and are now paying the price with bad publicity.
Paul Sanders (AlpineSoft) wrote:
I know for a fact that the audio system has higher CPU overheads than XP because I have (informally) benchmarked that already.
Probably all the DRM stuff. I've done some informal benchmarking which is easy here because we have test systems for testing our software before release (although that's all going virtual these days) and it's easy for me to load up an identical computer with xp, 95, 200, 2003, Vista etc. In my own testing I was mostly interested in the performance of our .net 2.0 app which is a pretty big multi tier business application. I found it to be very noticeably faster when running under Vista on the same hardware. But the bottom line for me as a developer is that I knew our customers were going to be using it (in fact they were running the beta before we had even installed it over a year ago as many of our customers are computer networking service companies) and I knew I needed to support it so I went out and bought the fastest computer I could get my hands on within reason that was certified for Vista and have had no issues. Again, as I said before, any of us old enough have seen this whole discussion go around and around before. When Micrsoft releases an OS they have to build against what will be common hardware at some predetermined sweet spot in the life of that OS. When windows 95 came out all the same arguments about it being a hog came out. When XP was released the fervor was equal to or perhaps even a little higher than it is now for Vista and it was all down to existing hardware being underpowered for the features of the OS. This time I think Microsoft was a little too optimistic than they have been in the past in what they say is approved for use with Vista but I bet you one dollar that when the big successor to Vista comes out we will see the same arguments again with people saying how much they loved vista and what a hog the
-
David Lockwood wrote:
because it's waiting there to be filled with my stuff when I choose
As I said in a post above, I don't know the answer, but I believe that while loading your stuff in memory, whether that memory is "used" or "free" (marked as such in the OS's internal tables) would virtually take the same time (the freeing of used memory is logical only, and the OS doesn't actually go and set every bit to 0 -- correct me if I am wrong). And that one day, when by chace the stuff you need is already in memory, you'll see a speed improvement. Maybe for your case it's hard to predict, but what about those people that only use IE, Outlook, Word and Excel? they are predictable and thus, might see an improvement.
Luis Alonso Ramos Intelectix Chihuahua, Mexico
You're right - caching is important. Windows would run like a dog without it. It's easy to demonstrate just how important it is, like so: 1. Restart your computer. 2. WAIT, until the hard disk light stops flashing. 3. Start up IE and time how long it takes. 4. Shut down IE, then start it up again, again timing how long it takes. The difference is startling. That's caching for you. Utilising all your RAM on the offchance that it might avoid a disk access is a no-brainer. The clever part is deciding what to hang on to and what to throw away. Is Vista driving down the cost of RAM, like XP once did? Methinks it is.
Paul Sanders http://www.alpinesoft.co.uk
-
Paul Sanders (AlpineSoft) wrote:
To run Vista effectively, you need at least 1GB, and preferably 2GB of RAM
No argument here.
Paul Sanders (AlpineSoft) wrote:
This doesn't seem to stop hardware vendors badging machines with 512MB of RAM as 'Vista capable'; Vista incompetent would be a better description.
Yeah and this is entirely at the feet of Microsoft. They set the bar too low and are now paying the price with bad publicity.
Paul Sanders (AlpineSoft) wrote:
I know for a fact that the audio system has higher CPU overheads than XP because I have (informally) benchmarked that already.
Probably all the DRM stuff. I've done some informal benchmarking which is easy here because we have test systems for testing our software before release (although that's all going virtual these days) and it's easy for me to load up an identical computer with xp, 95, 200, 2003, Vista etc. In my own testing I was mostly interested in the performance of our .net 2.0 app which is a pretty big multi tier business application. I found it to be very noticeably faster when running under Vista on the same hardware. But the bottom line for me as a developer is that I knew our customers were going to be using it (in fact they were running the beta before we had even installed it over a year ago as many of our customers are computer networking service companies) and I knew I needed to support it so I went out and bought the fastest computer I could get my hands on within reason that was certified for Vista and have had no issues. Again, as I said before, any of us old enough have seen this whole discussion go around and around before. When Micrsoft releases an OS they have to build against what will be common hardware at some predetermined sweet spot in the life of that OS. When windows 95 came out all the same arguments about it being a hog came out. When XP was released the fervor was equal to or perhaps even a little higher than it is now for Vista and it was all down to existing hardware being underpowered for the features of the OS. This time I think Microsoft was a little too optimistic than they have been in the past in what they say is approved for use with Vista but I bet you one dollar that when the big successor to Vista comes out we will see the same arguments again with people saying how much they loved vista and what a hog the
John C wrote:
I bet you one dollar that when the big successor to Vista comes out we will see the same arguments again with people saying how much they loved vista and what a hog the new os is and how slow it is etc etc.
WOW big bet, you must be confident.... You wont hear me ever say how much I loved Vista... EVER Sure it will get crap thrown all over it when it comes out (thats happened every time), but Vista seems to have copped it worst so far, and it is taking far more time to get accepted then XP or any of the previous versions have
"There are three sides to every story. Yours, mine and the truth" ~ unknown