-
-
Notifications
You must be signed in to change notification settings - Fork 652
Description
xbar version: v2.0.42-beta
macOS version: 10.15.7
Starting xbar up, it uses about 40MB. Running for a few minutes, it builds up to 50MB. Left unchecked for hours, it ended up using multiple GBs which eventually caught my attention.
Running Instruments' Leaks tool on the process shortly after startup yields thousands of small leaks over a roughly two-minute time span. The majority of the leaks stem from CreateMenuItemCallbackData
:
I removed all of my scripts to narrow down the scope of the problem, left only the following script running as foo.2s.sh
, and the leak persisted:
#!/usr/bin/env bash
echo "Foo"
I don't know whether this problem is new or a regression since I've only started using xbar recently.
I've checked the following versions and the leaks are present in all of them:
- v2.0.42-beta
- v2.0.37-beta
- v2.0.27-beta