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

[WARNING] macOS Sequoia exposes(?) extreme memory leak #1758

Open
1 task done
Rastafabisch opened this issue Jun 15, 2024 · 5 comments
Open
1 task done

[WARNING] macOS Sequoia exposes(?) extreme memory leak #1758

Rastafabisch opened this issue Jun 15, 2024 · 5 comments
Labels
needs investigation Further testing is required

Comments

@Rastafabisch
Copy link
Contributor

  • I confirm that this is an issue rather than a question.

Bug report

I just realised, that Hyperion cannot be used on macOS Sequoia (beta 1, Apple Silicon).
After updating my Mac to the current beta Hyperion causes the WindowServer UI management process to consume immense amounts of RAM (as in GBs/s) which crashes the system unrecoverable. No other screen-grabbing application I tested so far exposes this behaviour.

I tested several arm64 as well as Intel builds (via Rosetta) on my MacBook Pro 16" (M1 Pro).

I will continue to observe this behaviour and update this post accordingly. The current ticket number within the Apple Feedback system is FB13910081.

Copy link

Hello @Rastafabisch

We make use of an ISSUE TEMPLATE to capture relevant information to support you best. Unfortunately, you ignored or deleted the given sections. Please take care that all information requested is provided.

This issue will be automatically closed by our bot, please do not take it personally. We would like asking you to open a new issue following the ISSUE TEMPLATE.

Thanks for your continuous support!

Best regards,
Hyperion-Project

@Lord-Grey Lord-Grey reopened this Jun 18, 2024
@Lord-Grey Lord-Grey added needs investigation Further testing is required and removed Waiting For Review labels Jun 18, 2024
@Lord-Grey
Copy link
Collaborator

@Rastafabisch Thanks for sharing your finding.
Would be good, if could keep us posted!

@Rastafabisch
Copy link
Contributor Author

The issue is still and unchanged (possibly worse?) in Beta 2.

Within seconds WindowServer consumes more than 60GB of RAM.

@Rastafabisch
Copy link
Contributor Author

Apparently Beta 2 also evokes another issue, I did not realise previously. Hyperion itself now always consumes around 90% macOS CPU cycles (100%=One Core). Also it now often freezes, especially after system sleep. I did not experience this on Beta 1.


Due to the main issue (windowserver) I currently use Hyperion without screen grabbing access, which on macOS to not cause any unknown behaviour basically only allows access to the desktop background, but not any content or applications.

@Rastafabisch
Copy link
Contributor Author

The WindowServer memory issue triggered by Hyperion seems to be resolved with beta 3.

Hyperion still appears to be using abnormal amounts of CPU. Using the QT grabber an entire core is used. With the OSX grabber around 20-30% of one Core on my MacBook Pro with M1 Pro chip are used. That is still 50% more than it used to be under Sonoma, if I recall correctly. I also credit the occasional flickers to black to this elevated processing needs, though that's just a hunch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Further testing is required
Projects
None yet
Development

No branches or pull requests

2 participants