Skip to content
MappleCare Community ↗

[Solved] WindowServer High Memory Leak on MacBook Air 15″ M2: How to resolve Private dirty memory growth in Metal compositor across multiple Spaces

Started by Michael Olson • November 15, 2026 at 1:26 pm • 1 Community Replies • 2 Participants

Home › Forums › MacBook, iMac & macOS Lab › [Solved] WindowServer High Memory Leak on MacBook Air 15″ M2: How to resolve Private dirty memory growth in Metal compositor across multiple Spaces

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27548
    Michael Olson
    Certified Tech (Lvl 5)
    Diagnostic Hardware Specs: MacBook Air 15″ M2 (24GB) | OS Version: macOS Sequoia 15.0 | Archive Source: Apple Support Community #256336611

    I am running into a persistent issue on my MacBook Air 15″ M2 (24GB) running macOS Sequoia 15.0.
    Whenever the machine encounters Private dirty memory growth in Metal compositor across multiple Spaces, the following diagnostic log appears in Console:

    WindowServer virtual memory: 17.8 GB private dirty surfaces in Metal shader cache

    I verified that hardware connections are intact and tested across different power sources. What is the verified diagnostic procedure to permanently eliminate this symptom?

    Apple Vision Pro (512GB) | MacBook Pro 16″ M3 Max | Magic Trackpad | Stockholm, SE
    visionOS Spatial Computing Developer | "Verified Apple Discussions Archive"
    #27549
    Ella Perez
    Community Contributor
    Apple Recommended / Verified Community Solution
    This canonical solution was verified and marked as solved in the Apple Support Community archive.

    Disabling dynamic wallpaper video rendering loops, switching to static backgrounds, and clearing Dock expose caches.

    Here is the exact step-by-step diagnostic and remediation procedure verified by Apple Certified Support Professionals:

    1. Switch all desktop spaces to static wallpapers in System Settings > Wallpaper.
    2. Flush compositor memory: sudo purge && killall Dock.
    3. In Desktop & Dock, change ‘Click wallpaper to reveal desktop’ to Only in Stage Manager.

    Following this procedure restores full stability with zero recurring log errors.

    MacBook Pro 16″ M3 Max (128GB) | iPad Pro 11″ M4 (Apple Pencil Pro) | Belfast, UK
    Apple Certified Support Professional (ACSP) | Computer Science & Machine Learning Student
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.