-
-
Notifications
You must be signed in to change notification settings - Fork 516
Description
Search for Similar Reports
- I have searched existing issues for similar reports
Description
There is #530 about a memory leak in Ice itself, but this issue is different, because the leak is in Windowserver and only the cause of it is in Ice.
The memory usage of WindowServer steadily climbs up in 16kB (one page) increments every few (2-4?) seconds.
This only happens when Ice has screen recording permissions.
Steps to Reproduce
Important: Reboot your system to make the effect easier to see.
Do not run a lot of other stuff, just the bare minimum.
In a Terminal:
watch sudo footprint $(pgrep WindowServer)
Watch the line with Category "untagged (VM_ALLOCATE)", look at the "Dirty" column. It goes up in 16KB increments every few seconds.
Now take away Screen Recording Permissions from Ice (and restart the Ice process).
Watch the WindowServer footprint again: that memory usage still goes up and down a bit, but the steady leaking is gone.
App Version
0.11.12
macOS Version
15.7.3 (but also happened on older versions)
HW
MBP M3P
Additional Information
The memory pages leaked only contain "0A 00 00 00 00 ...".
The effect is a real PITA, because WindowServer can grow many GigaBytes big and then you will need to reboot (logging out does not suffice).