WindowServer memory leak

Looks like this problem is coming back in High Sierra.


I have a late 2013 MacBook Pro Retina, freshly installed High Sierra after resetting SMC, PRAM, at most 6 apps open at the same time, after 16 hours, this WindowServer process is taking almost 1GB RAM! Notice how much has been compressed. Several days ago, I have been using the High Sierra GM for about a week without rebooting/logging out, and I noticed this WindowServer process took 8GB RAM!


User uploaded file

MacBook Pro with Retina display, OS X El Capitan (10.11)

Posted on Sep 27, 2017 8:50 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 3, 2017 10:25 AM

Well, looks like the current consensus of the bug is that for retina display with Intel graphics card, if the resolution is set to the "scaled max", you will get the WindowServer memory leak. Other resolutions seem to be fine.


On my late 2013 rMBP 13'', setting the display to "scaled max (1680x1050)" will instantly create the memory leak. Other "scaled settings", currently at 1440x900, WindowServer stays around 100MB for 24 hours now.

53 replies

Oct 31, 2017 2:37 AM in response to Luis Sequeira1

I can confirm too.

I have MBP mid-2012 1200x800 and when I connect external monitor in clone mode and use calling to internal monitor then I have 5GB WindowServer memory usage in 4-6 hours.

This memory can be released after logout or reboot only.

If I don't connect external monitor then there is no memory leak (no scaling on internal monitor).

If I connect external monitor and arrange external and internal side by side without scaling on any of them then memory leak don't occur.

If memory leak occur and I change monitor arrangement and disable monitor scaling, them memory leak stops but memory already leaked won't be released - need to logout or reboot.

Oct 29, 2017 11:58 PM in response to welsonsun

I can confirm this on a 15" 2015 MBP. When running scaled resolution WindowServer starts to consume in excess of 20GB after a while. (I'm running the latest version of MacOS High Sierra, 10.13.1?)


I have no additional monitors connected.


Disabling scaled resolution tames WindowServer memory consumption but this is not a viable solution as I need the screen Realestate for my design work.

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.

WindowServer memory leak

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