emscripten-core / emscripten-core/emscripten
The browser crash and Render process gone
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
First:Compile the C code into the WASM library,the compile script as
`emcc decoder1.a decoder2.a -o Decoder.js -s USE_PTHREADS=1 -s TOTAL_MEMORY=1GB -s ALLOW_MEMORY_GROWTH=0 -s MAX_WEBGL_VERSION=2 -s FULL_ES2=1 -s OFFSCREENCANVAS_SUPPORT=1 -s PTHREAD_POOL_SIZE=2`
And in test.html ,Loaded the Decoder. Js library:
``
But if refresh Chrome multiple times and the browser will crash:
`SBOC_FATAL_MEMORY_EXCEEDED`
console:`Debugging connection was closed. Reason:Render process gone.Reconnect when ready by reopening DevTools.`
could you tell me why ?
Contributor guide
Assessment
This issue has not been assessed yet.