Peak Memory Usage
-
Why is it that the Windows Task Manager seems to always show "Total Memory Usage" as the sum of all the running process's "Peak Memory Usage"? This doesnt make sense, since the "Peak Memory Usage" of a process may represent memory that has already been freed (i.e. test.exe's "Peak Memory Usage" is 10MB but currently it is only using 1MB - if this were the only application currently running, Task Manager would show "Total Memory Usage" as 10MB - it should be 1MB, since 9MB has been freed) Am I missing something? 60% of statistics are made up on the spot
-
Why is it that the Windows Task Manager seems to always show "Total Memory Usage" as the sum of all the running process's "Peak Memory Usage"? This doesnt make sense, since the "Peak Memory Usage" of a process may represent memory that has already been freed (i.e. test.exe's "Peak Memory Usage" is 10MB but currently it is only using 1MB - if this were the only application currently running, Task Manager would show "Total Memory Usage" as 10MB - it should be 1MB, since 9MB has been freed) Am I missing something? 60% of statistics are made up on the spot
dont forget when windows shuffles the process even though it shows 1MB its still using 10MB. And therefore even though 1MB is being used 10 should still be calculated because when the process becomes active again ( designated by the current OS ) it will be 10MB or how much is needed to continue processing the current process. Find some articles on how windows manages the processes life cycle. Plus, Peak Memory Usage means a peak. Not exact at that moment just over an interval chosen. Or so you would think. For more info on that See Spock on Star Trek encyclopedia. This is from a devlopers point of view, I'm sure an admin would have more to say. nick I'm not an expert yet, but I play one at work. Yeah and here too.
-
Why is it that the Windows Task Manager seems to always show "Total Memory Usage" as the sum of all the running process's "Peak Memory Usage"? This doesnt make sense, since the "Peak Memory Usage" of a process may represent memory that has already been freed (i.e. test.exe's "Peak Memory Usage" is 10MB but currently it is only using 1MB - if this were the only application currently running, Task Manager would show "Total Memory Usage" as 10MB - it should be 1MB, since 9MB has been freed) Am I missing something? 60% of statistics are made up on the spot
Not really sure, perhaps because many programs expand to take up more memory and fail to let go of it again later? (*cough* MSWord *cough*) :) Seriously though, it doesn't seemto be that way on my machine, the "Mem Usage" which shows the total amount currently in use is going up and down as my machine runs. Not just when I open or close programs either, when I close one of three web pages I have open it goes down even though the browser does not actually unload. What OS are you using? (Win2k here)
Jason Jystad
"Real programmers can write assembly code in any language."
--Larry Wall