Newsroom Updates
>Introducing Apple Intelligence for iPhone, iPad, and Mac
>macOS Sequoia takes productivity and intelligence on Mac to new heights
>Introducing Apple Intelligence for iPhone, iPad, and Mac
>macOS Sequoia takes productivity and intelligence on Mac to new heights
User profile for user: lloyd_dawson
lloyd_dawson Author
User level: Level1 10 points
Any updates on when Apple will address the MAJOR issue of memory leaks ( AGAIN, this happened in Montery also ) on MacOS Sonoma, I have had nothing but crashes caused by memory leaks since upgrading and have several clients with BRAND NEW iMAC's and MACBook Air units with the same issues. This is CRAZY and Apple should have nevre released an OS with this BUG, especially since this is NOT the first time this has been an issue. Is anyone at Apple testing thigns anymore ?
[Re-Titled By Moderator]
MacBook Air (M1, 2020)
Posted on Oct 17, 2023 11:41 AM
Reply
Question marked as Best reply
User profile for user: lloyd_dawson
lloyd_dawson Author
User level: Level1 10 points
Posted on Oct 19, 2023 2:34 PM
Very similar issues, see LOTS of complaints on several Apple boards. Have even ahd the MacBook Air totally LOCK UP many times and only a HARD SHUTDOWN will recover things. Have done a FRESH install with same issues. Another Apple OS issue that should never have been released.... wonder how long for a FIX this time around.....
View in context
33 replies
Loading page content
Page content loaded
Question marked as Best reply
User profile for user: lloyd_dawson
lloyd_dawson Author
User level: Level1 10 points
Oct 19, 2023 2:34 PM in response to Richard Gaitskell
Very similar issues, see LOTS of complaints on several Apple boards. Have even ahd the MacBook Air totally LOCK UP many times and only a HARD SHUTDOWN will recover things. Have done a FRESH install with same issues. Another Apple OS issue that should never have been released.... wonder how long for a FIX this time around.....
Reply
Link
User profile for user: fred-nbs
fred-nbs
User level: Level1 9 points
Dec 3, 2023 9:33 AM in response to lloyd_dawson
I'm also seeing MAJOR memory leak with Sonoma, major one being "WindowServer".
The conclusion of the many tests I've done the last couple days to track this down (because it annoyed me so much) is that it is linked to external monitors.
MacOS freshly rebooted not connected to an external monitors does not exhibit such issue.
Then I connect my external monitor (Dell UltraSharp 32 6K Monitor - U3224KA - native res i.e. no scaling), do not start anything (especially the buggy DDPM Dell tool), leave it doing nothing over 1 full night and 1 full day and WindowServer process is showing up around 9GB (coming from less than 1GB before when no external monitor was connected).
Because I have the M3 Max with 128Gb, I noticed this when, with my traditional workflow, all my memory tools showed me that the system was using swap, was compressing memory already, and memory pressure was constantly increasing.
Over 1 or 2 weeks (or even less) WindowServer was easily consuming a whopping 200GB!
App Memory was showing that almost all my RAM was consumed despite no other process than WindowServer was showing abnormal amounts of RAM usage.
This is driving me crazy.
Reply
Link
User profile for user: mod_e
mod_e
User level: Level1 14 points
Nov 12, 2023 4:15 PM in response to PRP_53
I have had memory leaks on Apple Mail since upgrading to Ventura. The same continues with Sonoma. If I open Apple mail, then within five minutes I get the memory overload warning and have to force quit Apple Mail. I have spent MANY hours online and on the phone with "senior" Apple support and no solution. They confirmed TANGIBLE, REPRODUCIBLE, AND REPEATABLE evidence of the problem. But no solution.
One of the senior Apple techs just suggested using the Gmail web app. Wow.
Reply
Link
User profile for user: Richard Gaitskell
Richard Gaitskell
User level: Level1 84 points
Oct 19, 2023 1:15 PM in response to lloyd_dawson
Apple Mail App on Sonoma has a memory leak on both my MacBook Air 2023 and Studio 2022. Consumes >32 GB over 10's of minutes, continues growing until system memory is full and receive system warning. Have to attempt to quit app, or force quit, to recover. Happens after restart.
System and App software installations are rather vanilla - no secondary extensions/mods. Apps are all approved for Sonoma.
Reply
Link
User profile for user: ---dat
---dat
User level: Level1 8 points
Nov 17, 2023 3:19 AM in response to lloyd_dawson
I have a new MB M3 w/ 36GB of memory, running 14.1.1 and I'm getting the "out of memory force close" pop-up. Stating I only have 5GB remaining, after force closing everything reported I only have 7GB remaining. I had a similar issue on my MB M2 w/ 16GB prior to trading it in. I've also experienced it on my Air M2. The common denominator is Sonoma.
Reply
Link
User profile for user: fred-nbs
fred-nbs
User level: Level1 9 points
Mar 7, 2024 1:05 AM in response to Luis Sequeira1
Good news here: just updated to MacOS 14.4 and so far so good.
Looks a lot better.
Will report here if the issue still happens over time but initial tests do not exhibit the memory leak when playing some full screen videos on external monitor whereas it was immediately occurring with 14.3.1.
Apparently it took Apple 4 versions at least to fix it, which is unbelievable if you ask me!
Reply
Link
User profile for user: lllllogan
User level: Level1 14 points
Apr 10, 2024 3:16 PM in response to fred-nbs
I am experiencing this same issue.
Im running Sonoma 14.5 on an M2 Pro MacBook Pro and have my lid closed while connected to two external Dell U3219Qs.
After maybe 10 minutes of work the system is using swapped memory and the machine is unusable. However without the monitors and the lid open, this issue doesn't arise.
Reply
Link
User profile for user: Richard Davis7
Richard Davis7
User level: Level1 54 points
May 8, 2024 5:17 AM in response to dialabrain
Consider yourself lucky, I provide helpdesk tech support to a school district with 300+ macOS devices. I actually did not start seeing this issue until 14.0. The initial "fix" was upgrade to 14.1. after it still happened to random users and the common culprit appeared to be Print Center, the next "fix" was to "Reset the print system". This behavior has continued though the latest update of 14.4.1 on Mac Mini's (M1, 2020) and MacBook Air's (M1, 2020). Not seen on any M2 or M3 devices yet.
Unfortunately I can NOT narrow it down to any of the following:
- External monitor users only.
- Chrome users with many tabs.
- Print Center may or may not be in the list of apps.
I have seen users with lots of tabs with no issues and users with minimal tabs with issues. When they see the error no app is showing an excessive amount of memory in use, but the Force Quit dialog window reappears before any app can be quit. With the Force Quit dialog window open there is no way to launch activity monitor to troubleshoot. The only resolution is a hard restart. Which of course resolves the immediate issue
Reply
Link
User profile for user: devyre
devyre
User level: Level1 8 points
May 23, 2024 4:23 PM in response to lloyd_dawson
I've found a reliable way to reproduce this issue. I was working with Metal 3 to port my game engine to macOS, and noticed major memory leaks while resizing the application window. After hours of debugging I figured I might just revisit the "Hello Triangle" example directly from Apple. That leaked memory too.
So, for anyone with the will to reproduce this issue:
- Obtain the official "Hello Triangle" Metal example from using_a_render_pipeline_to_render_primitives
- Use a MacBook (maybe a Mac Studio is also affected?) with external monitors.
- Resize the "Hello Triangle" window on an external monitor.
A few notes:
It does not happen when resizing the application on the built-in monitor.
My monitors are both 4K@240Hz (32GS95UE-B), which may be another factor important for this?
I am using HDMI 2.1 on one and DP 1.4 on the other, and both suffer from this issue.
The issue disappears if I comment out the `presentDrawable` call in the "Hello Triangle" example.
I would also like to make clear that I have resized the official "Hello Triangle" example application so much, that it ended up locking up my system (making my cursor stutter, music choppy, and inevitably freezing forcing me to do a full restart).
Hopefully this information allows for a prompt fix. I also own a Mac Studio with an M2 Ultra, which I will be testing this on shortly, so I might edit or follow up to specify if this is a laptop-specific issue.
Reply
Link
User profile for user: John Galt
John Galt
User level: Level10 142,214 points
Oct 17, 2023 1:37 PM in response to lloyd_dawson
Did you contact Apple to let them know? They won't know unless you do that.
Contact Apple
Reply
Link
User profile for user: PRP_53
PRP_53
User level: Level10 86,053 points
Oct 17, 2023 1:47 PM in response to lloyd_dawson
It is one thing to say there is a Memory Leak in Sonoma 14.0
It is an another thing to provide Tangible, Reproducible and Repeatable evidence to support this assertion.
Would suggest making a Bug Report to Apple as there may or may not be time before the 14.1 Beta is finalized
FYI - on 3 different Apple M1 / M2 Personal Computers - no Memory Leaks I can find, so far
Reply
Link
User profile for user: Luis Sequeira1
Luis Sequeira1
User level: Level9 65,288 points
Mar 5, 2024 3:46 AM in response to matherman
matherman wrote:
I have a pretty new mac 2023 MacBook pro with m3max chip and 36gb of memory, I've been noticing with about 10 safari tabs open and iMessages it will start swapping after running for a day or so. Reboot and it's back to using about 12gb of memory. There is definitely something off, that needs to be fixed.
https://discussions.apple.com/content/attachment/35876691-ae1f-4b34-8b84-fc99f7016613
There is nothing abnormal in the image you showed.
By design, macOS will try to use as much memory as is available. Unused memory serves no purpose. Keeping cached files, or compressing memory of currently not in use applications, is what the OS does. A small portion of swap space is ok. (Of course it would not be ok to have several GB of swap). A very useful indicatio is that memory pressure: low and green is good.
Reply
Link
User profile for user: Luis Sequeira1
Luis Sequeira1
User level: Level9 65,288 points
Mar 5, 2024 4:01 AM in response to fred-nbs
fred-nbs wrote:
True in most occasions.
But there is definitively something abnormal with the handling of external monitors.
https://discussions.apple.com/content/attachment/3d65734f-c061-4a0a-9421-9a060fad173d
50+GB for WindowServer process it keeps growing to the point where my 128GB RAM M3Max it getting slower, use more & more compressed memory and swaps.
Only a reboot cures it.
This does not happen when working not connected to an external monitor.
I agree, this is not normal.
I wonder if this problem is somehow related to a problem some users have with Quicktime Player with external displays.
What cables/adapters are you using to connect the display? There appears to be a problem with Apple's own multiport AV adapter.
FWIW, I work with an external display all day long, using a third party USB-C dock with HDMI port, or a direct USB-C to HDMI or HDMI to VGA adapter, depending (I teach on a lot of different rooms with different hardware). I have never had this Window Server gobbling up memory problem, in any version of macOS. Running 14.3.1 now.
Reply
Link
User profile for user: dialabrain
dialabrain
User level: Level10 122,855 points
Oct 17, 2023 3:12 PM in response to lloyd_dawson
Most likely caused by software installed that is not 100% Sonoma compatible.
Reply
Link
User profile for user: Trapper_Keeper
Trapper_Keeper
User level: Level1 8 points
Oct 28, 2023 8:40 PM in response to lloyd_dawson
Yeah my machine has 8gb of ram and one or two low resource apps running ive got less than 300mb free.
Reply
Link
MacBook Air memory leaks following the Sonoma Update