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

chrome webworkers OOM (windows/macos exclusive) #124

Closed
9001 opened this issue Dec 11, 2024 · 0 comments
Closed

chrome webworkers OOM (windows/macos exclusive) #124

9001 opened this issue Dec 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@9001
Copy link
Owner

9001 commented Dec 11, 2024

this issue will be tracked here: https://issues.chromium.org/issues/383568268

one of the chrome memleaks are back, but this time with slightly different behavior:

  • doesn't matter if it's http or https, crashes either way
  • doesn't matter if it's cryptosubtle or wasm-hashing, crashes either way
  • only happens on nonlocal websites; 127.0.0.1 does not crash
  • only happens with webworkers enabled; mt off is fine
  • appears to be windows and macos only; not linux (??)
    • definitely happens on windows (chrome-beta 132.0.6834.32)
    • chrome-stable (131.0.6778.140) rapidly hits same memory usage, but does not OOM; oscillates around peak ram usage while doing productive work
    • definitely happens on macos (chrome-stable 131.0.6778.140)
    • does NOT occur with chromium 131.0.6778.108 @ archlinux
    • does NOT occur with chromium 131.0.6778.85 @ fedora
  • seen during a filesearch for a collection of 13 files with sizes ranging from 1 to 8 GiB each, so not related to uploading

mre:

when the issue occurs, copyparty crashes loudly with the browser leak modal, but the mre crashes more silently -- usually the mre html/dom continues looking just fine, but the hashing thread dies in the background, dropping cpu load to 0% while keeping ram usage peaked

best way to avoid this browser bug is probably conditionally disabling webworkers for chrome-based browsers, maybe only desktop if phones are unaffected

@9001 9001 added the bug Something isn't working label Dec 11, 2024
@9001 9001 self-assigned this Dec 11, 2024
@9001 9001 changed the title chrome OOM on windows with webworkers chrome webworkers OOM (windows/macos exclusive) Dec 11, 2024
@9001 9001 closed this as completed in 24ce46b Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant