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

[Bug] iOS Safari (and other iOS browsers) fail with Unhandled Promise Rejection: RangeError: Out of Memory #701

Open
onetrickwolf opened this issue Aug 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@onetrickwolf
Copy link
Collaborator

🐛 Bug Report

Loading https://aleo.tools will hang on iOS browsers.

Thought this was due to loading issues but after they were addressed in this PR the problem persists. This prompted me to check the console for Safari iOS on an iPad where I saw the out of memory error.

Similar issue was seen on FFMPEG wasm: ffmpegwasm/ffmpeg.wasm#299

Possibly related to these Safari bug reports:

Steps to Reproduce

Try loading https://aleo.tools on any iOS browser.

Stack trace & error message

Unhandled Promise Rejection: RangeError: Out of Memory

Your Environment

iPad iOS Safari and Chrome

@onetrickwolf onetrickwolf added the bug Something isn't working label Aug 2, 2023
@onetrickwolf
Copy link
Collaborator Author

Tried lowering the max memory of the wasm build to 500 MB and also reduced the worker thread pool to 2 but still saw the error. Will need to investigate deeper.

@onetrickwolf onetrickwolf self-assigned this Aug 2, 2023
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