Since upgrading macOS to Sonoma, I've frequently encountered the "beach ball of death" when using the Hammerspoon app. Additionally, its memory usage increases by around 1GB every 20 seconds, often leading to the app hanging and eventually triggering the "out of memory" message from macOS.
Is there a way to use code to detect when and what code snipped the app is crashing or hanging?
Since upgrading macOS to Sonoma, I've frequently encountered the "beach ball of death" when using the Hammerspoon app. Additionally, its memory usage increases by around 1GB every 20 seconds, often leading to the app hanging and eventually triggering the "out of memory" message from macOS.
Is there a way to use code to detect when and what code snipped the app is crashing or hanging?