monitoring resources used by apps

I use a particular (newspaper) web site a lot but recently it seems to be consuming a lot of resources and my 11-year old MacBook Pro (late 2013 MBP 13", 8GB, OS 11.7.10 Big Sur, Safari 16.6.1) is consistently running warm when I'm on the site. It has also become very sluggish to respond to keyboard or touchpad events when I'm on the site. Everything else seems to be OK.


I've tried looking at Activity Monitor but its short time slices mean that I can't easily see what's going on. (I've also reset the SMC.)


Is there a way (or an app) that will record the resource usage (CPU, GPU, memory) for apps and other processes and that will display this by app/process in a table, graph or histogram so that I can relate what i'm doing on the site with what resources are being used?


I realise that I will need to replace this MBP soon but I'd like an idea of what's going on now so that I can better assess what I need to replace it.


Thanks

MacBook Pro 13″

Posted on Aug 24, 2024 10:15 AM

Reply

Similar questions

13 replies

Aug 24, 2024 11:58 AM in response to Ursa Major

<< I've tried looking at Activity Monitor but its short time slices mean that I can't easily see what's going on. >>


I think you may be mistaken. Activity monitor does not just buzz in, sample for two microseconds and let everything else go by. it only updates the display periodically, but when its window is open, it is tabulating everything.


Activity monitor does what you are asking for.


on Activity Monitor's Memory display, is memory pressure completely GREEN?

any compressed memory?

Any Swap Used? (this is a high-water-mark indicator that is very slow to recede)


But I have a larger question:

If you confirm your belief that this web site uses a lot of resources. what can you do with that information?



Aug 25, 2024 6:45 AM in response to Ursa Major

The most important reason your Mac is somewhat slow is shown clearly in the graphs and tables above. Memory pressure is not yet choking, as shown by the box still green. But it is too high for high responsiveness, indicated by the graph more than a quarter full.


Memory is staring to get scarce, indicated by your Mac has started to Compress items still cached in memory to save space. 1.64 Gb is now holding compressed items. This allows your Mac to gain more space in RAM memory, at the expense of a small amount of compute-time to de-compress for use.


The strongest indicator of slowing things is that at some point recently, your Mac was so short of real RAM memory that is spilled some of the contents RAM onto the boot Drive into a Swap File. 2.83 GB is now being simulated in a disk file on the boot drive. That is FAR slower than real RAM.


The size of the Swap File indicates the worst-case severity of the shortage. Slowly, over time, if RAM became plentiful again, the size of the swap file is designed to be reduced. But if the shortage stays the same or grows, more and more and more things end up being swapped out, and reduced from RAM access times to Drive access times - over 1000 times slower.

Aug 25, 2024 6:52 AM in response to Ursa Major

I used to post that MacOS after El Capitan required MORE than 4GB of Real RAM to run in an appropriately responsive way. After Mojave, that number has gotten closer to 8G of real RAM, and after Ventura, MORE than 8GB or real RAM is needed just to run MacOS in an appropriately responsive way. This assessment is NOT adding in a big fat Web Browser and busy Web pages with moving ads and videos -- that's just MacOS.

Aug 30, 2024 7:31 AM in response to Ursa Major

The answers are above. Your Mac does not have enough real RAM for all the things you are doing at the same time.


your memory has become so full that your Mac is simulating needed RAM on the boot drive, which is FAR slower than real RAM.


if you have Chrome open, even if it is doing nothing, it remains the biggest resource hog that is not obvious malware.


Not all Macs ever produced are equal. Yours is now more than ten years old, and you are comparing to a brand new ChromeBook. A more realistic comparison would be to compare to a new MacBook Air with MORE than 8 GB RAM.

Aug 24, 2024 11:43 AM in response to a brody

The SSD is about 60% full. I only run Time Machine every couple of weeks or so. All I sync via iCloud are iMessage, Contacts and Notes (with my iPhone), none of which are updated very often.


The list of Browsers is monumental some of which I've never heard of. Chrome was even worse than Safari and DuckDuckGo is not robust enough yet. Do you have any suggestions for those I might try?

Aug 25, 2024 4:10 AM in response to Grant Bennet-Alder


Thanks for the information.


Here's the screen shot of the AM Memory Display although I'm not sure what it means or how this may affect my symptoms.



Are you saying that when i highlight a process in the (very long) of processes, the graph and figures at the bottom of the screen show the information for that process alone?


And can I reset the data so that it shows the information for the period since the reset only. (Or can I set a start time for the data being displayed?)


To answer your final question ...


1) If I know what's happening and why, there may be steps I can take to reduce the problem/symptoms.


2) Knowing what's going on would help me decide on how best to configure a new MacBook.


I hope this helps.

Aug 25, 2024 7:01 AM in response to Ursa Major

To clear out the logjam temporarily, Restart your Mac.


Immediately look at those memory number for a baseline, before you launch ANY apps. That will tell you what your best case can be.


--------

More modern Macs have drives that are Faster than the drive in this Mac, so having a swap file on a more modern Mac is not as slowing. Today's Macs can run their Boot drive near 5,000 M Bytes/sec, while your drive, a very early SSD, may be running under 500 M Bytes/sec.

Aug 30, 2024 7:14 AM in response to Ursa Major

Thanks to everyone for their advice and ideas. I have an update:


The browsers I've used on my MB are Safari & Chrome. Both run like dogs when I'm on the newspaper site.


My wife has a W10 Surface Book, which has Firefox (& Edge, which she doesn't use). I tried the site on her SB with Firefox and it ran like a dream - just how I remember it used to be on my MB.


So I downloaded Firefox onto my MB and ... the site ran like a dream - just how I remember it used to be on my MB.


I'm left with the question of why the same site can run so differently on different browsers on the same computer? Can anyone shed any light on this?


Thanks, Peter

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

monitoring resources used by apps

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.