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

Loads then crashes on iphone #26

Open
thomasballinger opened this issue Aug 8, 2021 · 4 comments
Open

Loads then crashes on iphone #26

thomasballinger opened this issue Aug 8, 2021 · 4 comments

Comments

@thomasballinger
Copy link
Owner

assets seem to finish loading, then browser page crashes and reloads

@janisozaur
Copy link
Contributor

We reserve a predetermined amount of memory at startup, I don't think these crashes are related to that. There are ways to have wasm sandbox grow in size, but our builds don't have that enabled, so as long as you see it loading (the spinner/compass thingy) all the wasm memory has been already provided. That doesn't include any memory that might be necessary for uploading textures to GPU

@thomasballinger
Copy link
Owner Author

Are you talking about these flags?

endless-web/Makefile

Lines 69 to 71 in 6f3b8fe

-s WASM_MEM_MAX=2147483648\
-s INITIAL_MEMORY=629145600\
-s ALLOW_MEMORY_GROWTH=1\

@janisozaur
Copy link
Contributor

Oh, we have the memory growth one. My bad.

In that case one way to check for OOM is to remove frames from animations. Should be trivial, as engine constructs them on the fly based on frame files discovered - just remove the files.

@thomasballinger
Copy link
Owner Author

thomasballinger commented Oct 16, 2022

I see similar behavior but this error also comes up
4262B388-0A62-4628-8AE2-170CE63CAF84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants