endless-web icon indicating copy to clipboard operation
endless-web copied to clipboard

Loads then crashes on iphone

Open thomasballinger opened this issue 4 years ago • 4 comments

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

thomasballinger avatar Aug 08 '21 22:08 thomasballinger

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

janisozaur avatar Aug 09 '21 16:08 janisozaur

Are you talking about these flags? https://github.com/thomasballinger/endless-web/blob/6f3b8fe4e96977257b6f4728f7bf897090f306a0/Makefile#L69-L71

thomasballinger avatar Aug 09 '21 19:08 thomasballinger

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.

janisozaur avatar Aug 09 '21 19:08 janisozaur

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

thomasballinger avatar Oct 16 '22 20:10 thomasballinger