Closed esimov closed 3 years ago
$ go version go version go1.16.6 darwin/amd64
Running the Wasm demo after certain time the browser crashes because of Out of memory error. Checking the memory consumption this increases rapidly.
Out of memory
The solution was to reset the slice holding the image data obtained from the webcam to its default values on each render frame.
Bug with Webassembly (WASM) version:
Running the Wasm demo after certain time the browser crashes because of
Out of memory
error. Checking the memory consumption this increases rapidly.Screenshots
Additional context