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

Cancel beatmap load in more loops #32192

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

smoogipoo
Copy link
Contributor

Three sequences were provided from internal diffcalc OOM-kills:

[03/01/2025 01:35:41]: Threads 0:1754009 1:1754015 2:1607040 3:1754008 4:1754007 5:1754013 6:1754019 7:1754003 8:1753990 9:1754006 
[03/01/2025 17:22:49]: Threads 0:2352258 1:2351518 2:2351519 3:2351871 4:2352264 5:2352256 6:2352020 7:2225048 8:2352251 9:2352262 
3001728

My general process here was to check the maps which have 0* on the website, and for each one test if each ruleset passes (throws an exception) after 10 seconds. See commit messages for explanation.

Chances are that this won't fix the OOM-kills, because at the end of the day it's based on a 10-sec timeout rather than bytes allocated (which isn't easy to do).

The following manages to create all hitobjects but proceeds to get stuck
in this method:

`dotnet run -- difficulty 1607040 -r:2`
Didn't notice a particular case with this one, just came up as I was
looking through code.
Also didn't notice a particular case here, but if all code passes up
until we get to the `foreach (var h in nestedHitObjects)` below, then we
could end up stuck here for quite a while.
@peppy peppy enabled auto-merge March 3, 2025 05:53
@peppy peppy disabled auto-merge March 3, 2025 07:10
@peppy peppy merged commit 8b04b75 into ppy:master Mar 3, 2025
7 of 10 checks passed
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.

2 participants