I have deployed the WebAssembly build in my container running Node.js (Node-RED)
Using Node-RED, I am sending every 100 ms an audio fragment of 100 ms to the WebAssembly edge impulse. This is working fine but after some time I am getting error:
"RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info."
Once I get this error, I always get this error (for all future audio fragments).
The only way to fix this is to restart Node-RED container.
My Node-RED project is using following code to trigger the WebAssembly edge impulse code: