Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hammerspoon is eggrediously unstable on macOS Sonoma #186

Closed
agzam opened this issue Nov 10, 2023 · 1 comment · Fixed by #187 · May be fixed by #193
Closed

Hammerspoon is eggrediously unstable on macOS Sonoma #186

agzam opened this issue Nov 10, 2023 · 1 comment · Fixed by #187 · May be fixed by #193

Comments

@agzam
Copy link
Owner

agzam commented Nov 10, 2023

Hammerspoon consistently freezes without any clear cause, resulting in the keys being stuck in an unusual state. I've found no better solution than to terminate it via the Activity Monitor as the Hammerspoon menu becomes unresponsive and continuously displays a spinning ball. This appears to be an upstream issue, but we should stay alert for other anomalies. The exact cause remains uncertain.

Update: We have a memory leak. Hammerspoon memory usage slowly grows and at some points becomes too big. I just killed an instance that reportedly had over 25Gb 😱 😱 😱

Something's not right.

agzam added a commit that referenced this issue Nov 13, 2023
According the git-blame the couroutine was added to alleviate (perhaps some
imaginary problems), back in the day when "edit-with-emacs" was using a
separate frame. I think the garbage collector in some cases fails to
clean it up. I'm still not completely sure if that's the exact thing
that's causing [#186 — Hammerspoon is eggrediously
unstable on macOS
Sonoma](#186), but after
removing the coroutine and testing for couple of days, I'm no longer
experiencing the issues described in #186
agzam added a commit that referenced this issue Nov 13, 2023
According the git-blame the couroutine was added to alleviate (perhaps some
imaginary problems), back in the day when "edit-with-emacs" was using a
separate frame. I think the garbage collector in some cases fails to
clean it up. I'm still not completely sure if that's the exact thing
that's causing [#186 — Hammerspoon is eggrediously
unstable on macOS
Sonoma](#186), but after
removing the coroutine and testing for couple of days, I'm no longer
experiencing the issues described in #186
@agzam
Copy link
Owner Author

agzam commented Nov 13, 2023

Darn... the memory consumption still slowly growing :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant