FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1.37k stars 21 forks source link

High WindowServer memory usage over time #128

Open BienGudBoy opened 1 month ago

BienGudBoy commented 1 month ago

The longer borders run, the higher WindowServer memory usage would be. One time (about 1 - 2 days of uptime) I catched it using almost 4GB of memory, while borders itself only took like 500MB. Stopping and restarting borders releases the memory instantly - WindowServer from 4GB+ -> 500MB.

I didn't manage to get the screenshot though. Is there a way to fix this?

Edit: Here's my bordersrc:


#!/bin/bash

options=(
        style=round
        width=6.0
        hidpi=on
        active_color=0xffd893a8
        inactive_color=0xff4a4e5c
)

borders "${options[@]}"```