WindowServer CPU is always high and memory is leaking on macOS Moterey 12.1 (21C52)
Nothing helps with it. What can be done?
MacBook Pro 16″, macOS 12.1
Nothing helps with it. What can be done?
MacBook Pro 16″, macOS 12.1
I am pretty sure the issue is a Apple WindowServer process caching issue. If you scale your display I know that will make windowserver memroy group much faster, and have higher CPU. Also using multiple desktops will cause the issue to be more prevelant. And of course mouse customizations.
Much like how a web browser caches images, so does windowserver caches video artifacts, just does so poorly with a lack of efficient garbage cleanup. I am sure it will get better in a year or so as they devs get more time to analyze the cause and tweak windowserver garbage cleanup. Until then, dont scale your display, done use a custom mouse, try not to use virtual desktops. When the CPU gets crazy, or memory on WindowServer, kill the process. it will close all your apps, but will clear the windowserver cache. Little faster that restarting.
I am pretty sure the issue is a Apple WindowServer process caching issue. If you scale your display I know that will make windowserver memroy group much faster, and have higher CPU. Also using multiple desktops will cause the issue to be more prevelant. And of course mouse customizations.
Much like how a web browser caches images, so does windowserver caches video artifacts, just does so poorly with a lack of efficient garbage cleanup. I am sure it will get better in a year or so as they devs get more time to analyze the cause and tweak windowserver garbage cleanup. Until then, dont scale your display, done use a custom mouse, try not to use virtual desktops. When the CPU gets crazy, or memory on WindowServer, kill the process. it will close all your apps, but will clear the windowserver cache. Little faster that restarting.
Any chances System Preferences >> Accessibility and Mouse Pointer was or is changed to anything other than Default Black Colour. This was an issue in Monterey 12.01 but reports indicated it was fixed in 12.1
Suggest downloading the Application Etrecheck directly from a well Respected ASC Contributor.
The application is free or paid from added features.
Run the application with Full Disc Access ( Security & Privacy - Full Disc Access ).
It will take a Snap Shot - both the hardware and software.
The Report will Not Reveal Any Personal Information.
Post back the Full Report - copy and paste - using the Additional Text Icon ( 3rd Icon to last )
We can have a look at the report for possible issues and may have possible suggestions to resolve the issues.
Any Third Party Applications that will interfere with the normal operation of the OS, alter, modify, remove or delete or attempt to do so is an invitation for disaster and may require a Reinstallation of the OS.
This includes AntiVirus, Disk Cleaners, Disk Optimizes, UnInstaller etc.
The The Built in Security is all that is required.
The % value of CPU in Activity Monitor is based on 1 core. Not infrequently processos can use more CPU than 100% of 1 core since all recent computers have more 1 core.
WindowServer is what draws the pixels on your screen. Thus, reducing refresh should reduce %CPU
maximtopmac wrote:
Measured by the activity monitor
CPU used is always higher than 100% which is, I suppose is much for WindowServer
I've found that switching to 60 Hertz reduces memory use by WindowServer, I'll try it.
Any chances System Preferences >> Accessibility and Mouse Pointer was or is changed to anything other than Default Black Colour. This was an issue in Monterey 12.01 but reports indicated it was fixed in 12.1
I've seen advice to reset it, but I haven't changed these settings on my system.
You can try to clear all caches in the following folder by deleting every subfolder.
~/Library/Caches
This method might help in any situation for any app if it behaves badly.
You can try to clear all caches in the following folder by deleting every subfolder.
~/Library/Caches
This method might help in any situation for any app if it behaves badly.
I'll try, thank you
Just about the same can be achieved by Restarting in Safe Mode and far less possibilities of an error being made.
The % value of CPU in Activity Monitor is based on 1 core. Not infrequently processos can use more CPU than 100% of 1 core since all recent computers have more 1 core.
WindowServer is what draws the pixels on your screen. Thus, reducing refresh should reduce %CPU
Thank you for the explanation, but this doesn't explain why memory usage is growing with time.
Measured by the activity monitor
CPU used is always higher than 100% which is, I suppose is much for WindowServer
WindowServer 142,5 10:06:12,42 25 309 Apple 43,1 1:00:34,12 156 _windowserver 2,43 GB 2 846 (null) - No Yes 0 bytes 0 bytes 0 0 0 bytes 0 bytes 0 bytes 0 bytes 0 bytes No Yes Yes 0 bytes 0 bytes (null)
And memory used grows with time
WindowServer 2,41 GB 24 2 844 156 _windowserver 108,3 10:08:00,28 326 Apple 37,5 1:00:53,67 (null) - No Yes 0 bytes 0 bytes 0 0 0 bytes 0 bytes 0 bytes 0 bytes 0 bytes No Yes Yes 0 bytes 0 bytes (null)
I don't know what exactly causes the memory leak, I just use my notebook as usual.
I've found that switching to 60 Hertz reduces memory use by WindowServer, I'll try it.
Exactly how was this measured and by what exact means were used in-order make an assertion that Memory Leak is happening ?
WindowServer CPU is always high and memory is leaking on macOS Moterey 12.1 (21C52)