Thanks Александр. I tried adding:

        -s WASM_MEM_MAX=256MB

to my emscripten compile options and now the page doesn’t crash, 
but I get the error:

        “can’t find variable WebAssembly”

This is in Safari on iOS 16.2 on an iPhone 14.

> On Jan 3, 2023, at 2:15 PM, Александр Гурьянов <caiiiy...@gmail.com> wrote:
> 
> Usual this happens because of OOM. Check the maximum allowed memory of your 
> wasm module. Usually 128 is ok for mobile, if more it can crash.
> 
> ср, 4 янв. 2023 г. в 01:13, Steve Dekorte <st...@dekorte.com>:
> Are there any known issues with WASM on mobile browsers? 
> 
> I have a web page that uses WASM that works fine on desktop Chrome or Safari 
> but crashes the whole page on iPhone using Chrome or Safari. I can write and 
> post a sample page, but I thought I check to see if this is a known issue 
> first.
> 
> 


-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/5d85ac9466b6b34116758847659b08a7%40smtp.hushmail.com.

Reply via email to