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

Fix high memory usage during spectator modes when background processing is running #27891

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

peppy
Copy link
Member

@peppy peppy commented Apr 16, 2024

Closes #27857.

Previous checks were on LocalUserPlaying, which is not enough to handle the case of spectating, where local user is not playing but GC mode may be set to LowLatency.

peppy added 3 commits April 16, 2024 10:04
Mostly just for safety, since I noticed this would pretty much fall over
in this scenario until now.
@bdach bdach self-requested a review April 16, 2024 07:54
Copy link
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally seems fine

osu.Desktop/Performance/HighPerformanceSessionManager.cs Outdated Show resolved Hide resolved
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
@bdach bdach enabled auto-merge April 16, 2024 08:50
@bdach bdach merged commit 2c90ba9 into ppy:master Apr 16, 2024
7 of 11 checks passed
@peppy peppy deleted the stop-background-process-high-performance branch April 17, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak when converting scores in spectator mode
2 participants