Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Anyone else experiencing memory leaks with FaceTime Audio?

  • Yes, FaceTime Audio (but not video) leaks ram like crazy!

    Votes: 0 0.0%
  • Yes, but I resolved the issue

    Votes: 0 0.0%

  • Total voters
    9

Malus120

macrumors 6502a
Original poster
Jun 28, 2002
698
1,457
Has anyone else noticed FaceTime (audio) leaking massive amounts of memory on macOS Sierra?

This is what happens when I start FaceTime call from my Mac (13 rMBP):

1. Facetime call starts with the avconferenced process using around 80MB of ram (around the same amount it uses while idle).

2. The avconferenced process slowly eats more ram at a rate of about 5-10MB every few minutes.

3. By the end of a long call I've seen ram usage for avconferenced as high as 3GB of physical memory plus an additional 2-3GB of compressed memory.

4. Obviously the longer a call goes on the worse performance (of both the call and my system) becomes (particularly on my 13 rMBP) as my memory pressure is slowly pushed into the yellow and eventually the red.

5. Ending and restarting the call "resets" the ram usage, but doesn't fix the underlying issue.

I know at least one other friend who experiences this on his iMac (2011) and 15 rMBP (2016), both running macOS Sierra. I should note that I never experienced this on my previous Retina iMac (2014), but given that I had 24GB of ram I may have just never noticed... I haven't tried this on my current desktop (i5 Hackintosh with 16GB of ram), but I imagine that results would be similar to my friends rMBP.

Has anyone else experienced this? Is this a known issue (I've searched for it both here and on google and came up empty handed)? Does anyone have any tips for fixing this? Should I go ahead and file a bug report with Apple?
 
  • Like
Reactions: yangm

Spytap

macrumors regular
Oct 8, 2010
135
93
Has anyone else noticed FaceTime (audio) leaking massive amounts of memory on macOS Sierra?

This is what happens when I start FaceTime call from my Mac (13 rMBP):

1. Facetime call starts with the avconferenced process using around 80MB of ram (around the same amount it uses while idle).

2. The avconferenced process slowly eats more ram at a rate of about 5-10MB every few minutes.

3. By the end of a long call I've seen ram usage for avconferenced as high as 3GB of physical memory plus an additional 2-3GB of compressed memory.

4. Obviously the longer a call goes on the worse performance (of both the call and my system) becomes (particularly on my 13 rMBP) as my memory pressure is slowly pushed into the yellow and eventually the red.

5. Ending and restarting the call "resets" the ram usage, but doesn't fix the underlying issue.

I know at least one other friend who experiences this on his iMac (2011) and 15 rMBP (2016), both running macOS Sierra. I should note that I never experienced this on my previous Retina iMac (2014), but given that I had 24GB of ram I may have just never noticed... I haven't tried this on my current desktop (i5 Hackintosh with 16GB of ram), but I imagine that results would be similar to my friends rMBP.

Has anyone else experienced this? Is this a known issue (I've searched for it both here and on google and came up empty handed)? Does anyone have any tips for fixing this? Should I go ahead and file a bug report with Apple?

Did you ever figure this out? I do a lot of conference calls for work on a 2014 MBA, and the avconferenced process ends up using anywhere between 150% and 375% of CPU (which obviously turns the call into a stuttering mess.) It doesn't seem to grow throughout the call, starting at 150% and spiking up and down seemingly at random. Would love a fix, since it's pretty intolerable at times.
 
  • Like
Reactions: Malus120

Malus120

macrumors 6502a
Original poster
Jun 28, 2002
698
1,457
Did you ever figure this out? I do a lot of conference calls for work on a 2014 MBA, and the avconferenced process ends up using anywhere between 150% and 375% of CPU (which obviously turns the call into a stuttering mess.) It doesn't seem to grow throughout the call, starting at 150% and spiking up and down seemingly at random. Would love a fix, since it's pretty intolerable at times.

A reply! I'm not alone in my battle with avconferenced :p
(For those of you who take the time to view the thread please at least VOTE, even if its just to say you have no problems)

Unfortunately I'm still trying to determine the root cause. Your issue sounds like it may be (inter)related, but also a bit different. How much ram do you have? Also, when it's using massive amounts of CPU, what does your ram usage look like? Another thing to consider would be the amount of free space you have on your boot drive. If you have very little space, your CPU may be busy trying to make the most of what little swap it has given Facetime's obscene memory issues.

Working with a friend who also has the same issue (as me), I've made the following (extremely) tentative observations:

1. The issue seems to be particularly pronounced on (or perhaps is related and isolated to) machines with 8GB of ram or less, and the less ram you have the worse the issue is.

2. With 12GB+ of ram the issue seems to all but disappear as evidenced by my friends 2016 15" MBP (16GB) not having this issue at all, while his 2011 iMac (4GB!) suffers horribly. My Hackintosh with 16GB, and my previous Retina iMac with 24GB are/were also unaffected, while my 2016 13" MBP (8GB) is.

3. On Macs with at least 8GB of ram, avconferenced will sometimes at least be "smart" enough to begin compressing the massive amount of memory it is using, which mitigates memory pressure and helps to avoid stuttering. Unfortunately it doesn't do this all the time and I can't figure out why. My best guess is that it is related to how many other apps you have open using large amounts of ram, but I haven't tested extensively enough to say for sure.

4. As i noted in the original post the memory issue at least, tends to be a gradual escalation, not becoming an issue until at least 1-2 hours into the call (dependent on available ram and whether or not it decides to use compression).

5. CPU usage spikes do occur but (in the cases I have seen so far at least) don't appear to be the root cause of the issue (I've never seen it use more than like 80%, and it's normally around 20-30%)

5. iOS seems to be unaffected (at least in terms of progressive loss of call quality), but again, i haven't tested this extensively.

If you wouldn't mind, I'd love to hear more about your issue. As Facetime is a platform I rely on daily, I'd really like to get enough information to actually be able to submit a report to Apple (and hopefully) get them to fix these issues.
 

David Lettvin

macrumors newbie
Jun 5, 2020
1
0
I've been monitoring my memory lately and wondered why it was so low and why my machine was acting cranky. When I checked Activity Monitor I found the culprit was "avconferenced" even though Facetime was turned off. Count yourself lucky. My avconferenced memory footprint was 50gb. I don't even ... I deleted the process and everything is back to normal, but I guess I'll have to make a note to wipe the process after each meeting.
 

primarycolors

macrumors 6502
Oct 17, 2015
328
527
CA
I don't use FaceTime on Mac, but I'm certain Photos has a memory leak... It gets slower and slower until I look in Activity Monitor and it's using 16GB of RAM! So it's definitely plausible another app does the same.
 

gnomeisland

macrumors 65816
Jul 30, 2008
1,097
833
New York, NY
I found this thread after realizing this process was taking up ~8GB of RAM on my M1 mini. And I'm not running FaceTime! In my case, I think the culprit is SideCar, but discouraging that this issue is still cropping up after 3+ years!
 
  • Like
Reactions: jiehaopenpen

telo123

macrumors 6502
Mar 11, 2021
318
402
I found this thread after realizing this process was taking up ~8GB of RAM on my M1 mini. And I'm not running FaceTime! In my case, I think the culprit is SideCar, but discouraging that this issue is still cropping up after 3+ years!
It is SideCar that it is doing it. I have seen the same results. You are generating a secondary display on your iPad through a wire or through Wi-Fi, so it is reasonable for the RAM usage. Though, some do report memory leakage. It depends on what you're doing.

It is interesting that it isn't the WindowServer doing it though. I'm not sure if it's because of the M1 or if it's because I'm only using the budget iPad (i.e. screen resolution will be lower), but the CPU and GPU usage aren't as high as others claim.

Note: I actually made it use less RAM by enforcing a USB connection (by turning off Wi-Fi on the iPad).
 
Last edited:

UltimateSyn

macrumors 601
Mar 3, 2008
4,974
9,222
Massachusetts
I don't use FaceTime on Mac, but I'm certain Photos has a memory leak... It gets slower and slower until I look in Activity Monitor and it's using 16GB of RAM! So it's definitely plausible another app does the same.
Messages seems to have one on my Mac, too. I‘ll notice the fans spinning up and the computer slowing down before checking Activity Monitor to see Messages using hundreds of % of CPU and tons of RAM.

Maybe it’s something to do with the iCloud processes that would be involved in all of these applications.
 
  • Like
Reactions: primarycolors

jiehaopenpen

macrumors newbie
Mar 17, 2021
4
3
I have the same problem here. I have a M1 MBP 8GB, because it doesn't support a second external display, I use my iPad Pro 2020 as a second external screen. However, after 1-2 hours, the avconferenced process consume 5-10 GB memory, which is INSANE! The CPU & GPU usage are both fine, but there is definitely a serious memory leak going on.

Together with the high SSD writes, these problems really drive me crazy....
 

yangm

macrumors member
Apr 16, 2014
38
38
I don't know why people link this issue to sidecar, I don't use this feature and avconferenced forces the dGPU to be turned on forever, despite hanging out a facetime call, closing the app, begging heavens for mercy... the only workaround I have found is to kill the little **** from activity monitor.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.