I had a website which was using massive amounts of memory on my MacBook but I was unable to take a screenshot of the total memory usage from Activity Monitor to file an issue with the website. Is there any way I can see the log of the Activity Monitor from a specific time?
Asked
Active
Viewed 832 times
0
-
1Activity Monitor doesn't keep any history. – nohillside Mar 30 '21 at 08:44
-
I tat menus does hap a graph of memory use over time – mmmmmm Mar 30 '21 at 11:49
-
Also, it's most likely to be an issue with Safari itself, rather than the website's code. – benwiggy Mar 30 '21 at 12:33
-
@benwiggy I am using Firefox and its with the Redux Essential page. I am not facing any issues with other pages just this one where it is incredibly laggy. – yudhiesh Mar 30 '21 at 13:16
-
That page isn't laggy for me on Safari. It's using 'some memory', but not an inordinate amount. – benwiggy Mar 30 '21 at 14:20
3 Answers
4
No, Activity Monitor does not store historic information about memory usages anywhere.
The system also do not by standard log such information into log files or databases or anything like that. So the information you seek is gone now, I'm afraid.
jksoegaard
- 77,783
-
I don't understand your comment. A program was running. Now it is not running. The user wants to document how much memory it used when it ran. That information is lost. You cannot record it afterwards. – jksoegaard Mar 30 '21 at 12:03
-
Thanks I will try checking with Firefox if it is possible as it could be a memory leak from there. – yudhiesh Mar 30 '21 at 13:59
0
If you want to redo the issue and collect data:
Download Xcode from https://developer.apple.com
Use Instruments.app with "Activity Monitor" instrument.
Choose all processes. Hit the red button to start recording.
anki
- 11,753
-
This won't work at all. You need to do this BEFORE running the program. You cannot do it afterwards. – jksoegaard Mar 30 '21 at 12:03
-
well, the user could visit the website again, and record the trace for the whole duration, and upload the stats in the bug report. – anki Mar 30 '21 at 12:16
-
Well, then the user could also just take the screenshot that the original question was about :-) – jksoegaard Mar 30 '21 at 14:02
-1
Could it help you?
while sleep 1s; do date; top -l 1 |grep 'PhysMem:'; done > course.log
BabyBoy
- 925
-
This shows the memory usage for the current time. Could you change it to show the memory usage over the last day only? – yudhiesh Mar 30 '21 at 13:17
-

