3

I'm having this problem where Safari tabs that I've closed are still running in the background. Sometimes these tabs go "out of control" and chew up all the CPU and memory (GB of swap) to the point where my M1 MacBook Air grinds to a halt and the mouse pointer starts stuttering. The only way to fix it is to quit Safari. I can easily do this by clicking on the Dock and Command-Q... the GUI may take a minute or two to catch up, but once Safari quits, everything returns back to normal - a nice speedy M1 with not much software loaded.

I can't figure out why this is happening. I run a clean system, no sketchy software. Only 2 browser extensions, Duck Duck Go and Vinegar. (Inactivating the extensions does not fix the issue.) Just a few things from the App Store and legit pro audio/DJ software. The only thing I can think of is maybe a Safari Technology Preview version screwed something up, but I have wiped all those files off my system.

Anyone have any ideas?

Here are some screenshots... please note the tabs/URLs shown are from tabs and windows closed long ago! You'll see Safari has no open windows.

MEM

enter image description here

14
  • Yes - I have an idea: Install Firefox
    – Seamus
    Commented Jan 6, 2022 at 0:48
  • Do you ever restart macOS and/or close & restart Safari? If you close and restart Safari, to the closed tabs reappear?
    – IconDaemon
    Commented Jan 6, 2022 at 1:44
  • I don't restart macOS unless I have to or something really funky happens. When I close and restart Safari, the closed tabs do not re-appear. (I don't have that setting enabled - when Safari starts it is a new window.)
    – kokernutz
    Commented Jan 6, 2022 at 2:39
  • 1
    @Seamus it would be awesome if you could expand that into an answer. Explain if you use it exclusively or somehow split the load between safari and Firefox. Not everyone wants two browser, but experience here might make a useful answer.
    – bmike
    Commented Jan 6, 2022 at 2:47
  • @bmike: I doubt that my reasons would be of much interest to anyone else. I adopted Firefox some time ago, I've grown to like it and to trust it to a limited degree :) and I can use it on Linux. I can not say that for Safari. That's about all there is to it
    – Seamus
    Commented Jan 6, 2022 at 4:19

3 Answers 3

1

In my case, I kept seeing the 'spinning mouse/waiting' wheel behavior on my system. As it turns out, there were several processes running in the background too (after inspection of Activity Monitor), namely from 'web resources' and various URLs which ate up around 3-5% in CPU resources each. Yes, each!

The only thing I expected to see here that took up that much memory were actively running programs like Activity Monitor itself, Excel, Safari, etc. So, putting on my thinking cap I thought that maybe it could be these were still being detected by the system somehow even after Safari had been exited.

The resource hogs were due to various bookmarks on Safari (i.e. YouTube -- for which I linked to a half-dozen or so content creators) that were being a bottleneck to the overall system performance. Having since removed those bookmarks, the system is now running without a hitch. I was even surprised that was the root cause (as I have never seen bookmarks to be problematic), but it worked and this system woe is behind me, thankfully.

Note: As of this post, I haven't been able to repro it on-the-spot and I suspect it takes days or weeks on end that the system gets clogged up.

1
  • That sounds like the symptoms I am having, but I don't really keep a lot of bookmarks - maybe a few dozen. But even then it is only to the root URL. I'll dig a little deeper on this.
    – kokernutz
    Commented Jan 9, 2022 at 19:41
0

Anyone have further updates?

I have the same issue, but my tabs persist even after quitting Safari (or Safari Technology Preview). This is on a brand-new M3 MBP, running Sonoma 14.2.1.

I'll quit the browser, then open Activity Monitor, and there will still be dozens of tabs sucking up memory. The only way to quit them is using "Force Quit" in Activity Monitor (or restarting the Mac).

I have tried turning off all Safari extensions, but no dice. Same thing happens regardless of regular Safari or STP.

Curious if anyone else has this problem, specifically of the tabs persisting in Activity Monitor even after quitting the browser entirely.

Thanks in advance!

Wm

PS: I didn't really understand about the bookmarks -- did you mean that just having sites bookmarked somehow makes closed tabs continue using RAM? Because the tabs that remain in Activity Monitor aren't sites that I've bookmarked.

after quitting Safari

after force-quitting tabs in Activity Monitor

3
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review Commented Jan 22 at 20:07
  • Do you have reading list articles enabled for offline viewing? This could be the reason...
    – AVelj
    Commented Jan 22 at 21:06
  • No, I don't have my Reading List available offline—but thanks for the suggestion. Does no one else have this issue? It happens on both of my new Macs! Commented Apr 23 at 16:10
0

I got an M2 MacBook Air and did not use migration assistant and this no longer happens. Who knows what it was... I spent hours and hours trying to figure it out. Yay me.

You must log in to answer this question.

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