0

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?

yudhiesh
  • 417

3 Answers3

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.

enter image description here

Choose all processes. Hit the red button to start recording.

enter image description here

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