Comments (4)
I don't think there's much point in debugging mac specific issues right now when we are completely rewriting the mac implementation
#40
Still though, trustd seems to have something to do with SSL certificates and syspolicyd apparently does a lot of things regarding keeping track of applications state (gatekeeper, if they are notirized, if they are a "legacy app" etc).
trustd doesn't seem to have any relation to activitywatch as we don't support SSL/HTTPS so I don't see at all why that should be involved in our process.
Regarding syspolicyd I can see why it might to keep track of activitywatch and what it's doing, but it does not make sense that it should use so much CPU resources. Let's start with hoping that the rewrite of the window watcher makes that process happier.
from aw-watcher-window.
I can confirm I'm also seeing syspolicyd CPU usage spike when ActivityWatch is running... And it stops when ActivityWatch is closed.
Looking at the console log, after opening ActivityWatch syspolicyd emits a bunch of these log messages:
It later emits a lot of other messages too, but those are first and are the only ones typed "error".
ActivityWatch works and has all the correct permissions. No idea why ActivityWatch is causing this. Guess I'll have to hold tight for the updated Mac release.
from aw-watcher-window.
I'm seeing this and high memory usage. I think it has to do with using AppleScript calls on a frequent basis. Whether or not they are shelled out to a separate process, they create pretty high memory usage.
I believe #49 will be the ultimate solution here.
from aw-watcher-window.
This should be fixed with the new default window strategy (implemented in Swift), released in v0.12.1 just an hour ago.
Closing.
from aw-watcher-window.
Related Issues (20)
- [macos] Process crashes with Unexpectedly found nil while unwrapping an Optional value HOT 3
- [macos] Process crashed without error
- Track webcam and microphone usage HOT 4
- Window Watcher Not Working on M1 Monterey HOT 1
- MacOS: Use realtime accessibility notifications to improve precision and performance HOT 3
- [macos] url changes are not detected
- [macos] detect incognito on safari
- [macos] track audible status
- Aw watcher window quits without any logged error on MacOS Catalina HOT 1
- 900GB Log File caused by error in error handler HOT 1
- Error logging filling up disk HOT 3
- Is it possible to replace aw-watcher-window? HOT 12
- [Windows] aw watcher window does not track correctly HOT 3
- [macos] `loginwindow` reported with latest macOS update HOT 5
- Logs filled up my disk for the second time HOT 5
- [Linux] 'BadRRModeError' object has no attribute 'sequence_number' HOT 5
- [Windows] Exception thrown while trying to get active window HOT 1
- [Linux] Can I use hyprctl to support Hyprland HOT 2
- [Windows] Switch to use title instead of executable
- [Windows] Apps run in Administrator not got recorded HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aw-watcher-window.