4

Is there a way to see memory usage per app in macOS? That is, I want to see the total memory consumed by each app, including its child processes.

The Activity Monitor shows memory usage by process which makes it hard to determine, for example, how much memory the Chrome app is using, since it spawns multiple processes.

  • For Chrome specifically have you used its built in task manager? – Atari911 Jun 12 '15 at 4:55
4

Activity Monitor > View > All Processes, Hierarchically ought to do it, with a bit of scrolling...

enter image description here

  • 1
    This seemed promising. But on checking I found that the it still doesn't show the total memory being used by an App. It's just individual processes grouped under the parent process. (You can verify that for the Safari and Mail apps shown in your screen shot -- the memory usage doesn't add up). In fact, on my Mac currently, the Chrome.app has child processes that individually seem to be using more memory than the parent Chrome.app process. – Himanshu P Sep 7 '14 at 8:42
  • Without knowing for certain, I'd say that you would need to add up all the child processes, then add the parent, to get the true total - I think you're assuming the parent IS the total. I would assume it's not. A simple test for that would be to check the kernel task total, which is nowhere near the sum of it's sub-processes. – Tetsujin Sep 7 '14 at 8:44
  • That's exactly what I said above... this view doesn't show the total memory usage per app. I am looking for a method that does. I can't be bothered to add 30 3-digit numbers each time I want to see how much memory chrome is using. – Himanshu P Sep 7 '14 at 9:28
  • Then I think you're out of luck - they are child processes, subordinate but separate to the main process. My fairly decent Google-Fu finds no utility that will add them up automatically. Maybe someone else can find one... – Tetsujin Sep 7 '14 at 9:59
  • 5
    It's not that simple, processes can share memory, so total memory is not as easy as add all memory from the children. Plus, there's virtual versus real memory. It's a slightly complicated beast. :-( – chmac Dec 12 '14 at 15:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .