macOS Sequoia Massive memory leak

So this seems to be an issue with all the recent macOS versions, the windowserver process just seems to eat more and more ram. Now when im running a single safari window with 5 tabs, mail, messages, notes, and onenote, the windowserver process i guess needs 5gb of ram to do its job. I rebooted, it started at 250mb, as soon as i start opening things it skyrockets. It seems to eat about 1gb per app window open. Closing the apps does not lower the processes ram usage. It will continue to grow with every app i open. I did a fresh reinstall of the OS, reinstalled all 3rd party apps by hand, of which i only use a few, and the issue persists. These numbers hold true on my m3 MBA with 16gb ram and my partners m1 base MBA. This is ridiculous Apple

Posted on Sep 19, 2024 4:38 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 7, 2024 6:40 PM

Same issue here. And I believe this is related to iPhone Mirroring App.


I tried to keep away from that for 2 days, then the memory usage is acceptable even I connected to two 4k external displays (3 displays if internal included).


But when I accidentally clicked on the iPhone notification on my Mac this morning, the memory usage of window server went up instantly and keeps growing. Also that usage never decrease since then.


I am using macOS 18.0.1 on M1max MacBook Pro, so I deeply believe the memory leak problem is still not fixed.

65 replies

Sep 22, 2024 4:23 PM in response to joelhz

Yesterday, again, I did a complete reinstall of the OS, had to restore it to Sonoma, upgrade to Sequoia, and the issue persists. Right now to test, I am not using ANY 3rd party apps, not even ones from the App Store. After 1.5 hours my windowserver process was 2gb.


So if this isn't a software issue it has to be a hardware issue. BUT I don't see how that's that case when in Sonoma with my current laptop I never say the windowserver process peak over 1gb and that was with 1 external 1440p displays and the integral display all running with tons of windows and apps open. Plus no other apps are running away, all are using only as much ram as they did in Sonoma. Maybe is a compatibility issue with my exact config? 13 MBA, M3, 16gb, 512gb.

Nov 20, 2024 10:34 PM in response to jessatd75

Hi there,


I have done clean installation of Sequoia and installed all apps what I used in Sonoma. As soon as I installed I have paid attention the memory usage doubled. Normally I was running about 8-10GB and occasionally 15GB. Now I have stable 20-24GB without running any of memory hungry apps (tomcat, postgresql, java apps). Would Apple consider and check this issue soon?

Sep 20, 2024 4:26 AM in response to jessatd75

Quote from @ Grant Bennet-Alder


" WindowServer is the task that makes sure the right stuff is in every window, manages multiple windows in multiple positions on the screen, possibly overlapping or not, and generally manages all issues related to drawing the stuff on the screen. " end quote 


FYI - like both of my colleagues, running Sequoia 15.0 on 1 M1, 1 M2 and 1 M3 machines and I am not experiencing the WindowServer issue.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS Sequoia Massive memory leak

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.