Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Peak Memory Usage

Peak Memory Usage

Scheduled Pinned Locked Moved System Admin
performancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joshua Nussbaum
    wrote on last edited by
    #1

    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

    I J 2 Replies Last reply
    0
    • J Joshua Nussbaum

      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

      I Offline
      I Offline
      Ista
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • J Joshua Nussbaum

        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

        J Offline
        J Offline
        Jason Jystad
        wrote on last edited by
        #3

        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

        Cito Technologies


        "Real programmers can write assembly code in any language."
        --Larry Wall

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups