Re:Memory leaks are crippling my M1 MacBook Pro
by saagarjha on Monday November 08, 2021 @05:27AM
(#29147886)
Not a red herring, just confirming it wasn't a normal application memory leak (it's not, the malloc usage is fine–I think you're hitting the same issue as is mentioned in this article). The next step I would do is run sudo footprint $(pgrep WindowServer), optionally with -v to give you a really detailed list of why the footprint is so high.
I ran heap(1) on WindowServer [1] but there's nothing in there standing out so maybe this is a red herring.
[0] https://cln.sh/A7YPLN
[1] https://gist.github.com/772687dba65a35cca8cd707fcfda99c0