How can I monitor my current RAM usage?

Discussion in 'Mac OS X System & Mac Software' started by d54321k, Sep 25, 2003.

  1. d54321k

    d54321k Registered

    Joined:
    Apr 10, 2003
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    0
    Is there a utility in OS X that would allow monitoring my current RAM usage (i.e. how much RAM is each running app using, and also check if RAM has been cleared after this particullar app quit)?

    I tried the CPU Monitor, but can't find where (if at all) does it addresss the RAM issue.

    Thanks
    DK
     
  2. DeltaMac

    DeltaMac Tech

    Joined:
    Jun 20, 2001
    Messages:
    8,047
    Likes Received:
    13
    Trophy Points:
    38
    Location:
    Dover, DE
    If you use Process Viewer, you'll see some of the info you're asking for. Also a TOP command in terminal shows which apps are using memory, as well as memory usage by the system as a whole.
    Memory usage is not really cleared after use in the same way that OS 9 handled it (thank goodness!) OS X handles memory usage much differently, assigning memory, but adjusting that memory usage dynamically. Even if you view how much memory is 'assigned' as in use, it changes as you watch, including paging memory out to the disk when necessary.
    I watched top run on a system with 256 MB of installed RAM running about 40 apps at the same time, really crappy performance, TOP showed about 3.5 GB of virtual memory in use! But all apps could be used (useful?? not really, but working). When you close out all those apps, not all the memory is freed up, some is kept in cache, for later opening those same apps, as a performance enhancement. That's OS X and Unix working together to do its job!
     
  3. bobw

    bobw The Late: SuperMacMod

    Joined:
    Mar 29, 2001
    Messages:
    8,831
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Retired
    Location:
    Phila,PA
    Go to VersionTracker and do a search for Memory. You'll find a couple programs.
     
  4. Arden

    Arden Where mah "any" keys at?

    Joined:
    Dec 18, 2002
    Messages:
    7,754
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Safeway clerk
    Location:
    Spokane, WA
    Check out iPulse. It shows you the activity levels of a number of tasks on your computer, including memory, disk usage, and network traffic, in a small, round colored circle. It's quite cool.
     
  5. hulkaros

    hulkaros The Incredible...

    Joined:
    Jun 5, 2002
    Messages:
    1,986
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    MacJedi
    Location:
    MacLand
  6. symphonix

    symphonix Scratch & Sniff Committee

    Joined:
    Jul 18, 2001
    Messages:
    4,018
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    IT Support (Healthcare)
    Location:
    The Australian Jungles
    My method is to open the terminal (In Applications/Utilities) and enter the "top" command. It gives a very good breakdown of memory usage by program.
     
  7. Arden

    Arden Where mah "any" keys at?

    Joined:
    Dec 18, 2002
    Messages:
    7,754
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Safeway clerk
    Location:
    Spokane, WA
    Open Terminal and enter man top. Peruse this document, then enter the top combination with the combination of trailers you want, to limit the number of listings or sort it by CPU usage, for example.

    The problem with any of these tools is that they also take memory. Look in top, for example, and see how much (and what %) of your memory top itself takes. This goes back to the whole "If you measure a particle's position, you change its velocity, and if you measure its velocity, you change its position" quagmire. However, these processes will still give you what you want.
     
  8. d54321k

    d54321k Registered

    Joined:
    Apr 10, 2003
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    0
    This is great, thanks guys.

    What's "MemRegions" (displayed in the Terminal)? If "memory regions", what's a "resident memory region"?
     
  9. cybiko123

    cybiko123 Registered

    Joined:
    Aug 7, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    A very simple program specific to this need is MemoryUsageGetter. Try a search for it on any major search engine.
     
  10. Arden

    Arden Where mah "any" keys at?

    Joined:
    Dec 18, 2002
    Messages:
    7,754
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Safeway clerk
    Location:
    Spokane, WA
    Does it explain in the manual? Type man top.
     
  11. Urbansory

    Urbansory The Definition of...

    Joined:
    Apr 3, 2002
    Messages:
    1,181
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta, GA
    I like MemoryStick, hid it and you can see it in the dock because the icon is the meter. Although i think you need to click the dock icon to update it, I haven't used it in a while.
     

Share This Page