emscripten-core / emscripten-core/emscripten
Browser crashes when wasm is loaded multiple times.
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hi
I have a html5 based web application that would be integrated with other web applications via iFrame. There will be situations where the iFrame will be reloaded. So when the iFrame is loaded, wasm js file is also got and is also loaded again. But the browser memory seems to be growing and at some reloads, the browser crashes. I am building the WASM files with TOTAL_STACK=640mb INITIAL_MEMORY=704mb. When I remove this from the build command, the crashes are not encountered. Kindly help me with this issue.
Thank You !
Contributor guide
Assessment
This issue has not been assessed yet.