Video SDK Type and Version
Share the Video SDK type and version you’re working with to give relevant context.
2.3.14 Web
Description
*Details on your question, workflow or the problem you’re trying to solve.
Any zoom video sdk session I start, when I run stream.startAudio() will spawn a 23MB memory footprint VM as it can be confirmed in Chrome’s Memory tab. (it contains the audio wasm file and other sound and video related info.)
From that point on, every time I join a subsession or leave a subsession (which basically mean I join the main session) a new VM is spawned with the exact same attributes. These cause a serious memory leak as after 15-20 joining and leaving a subsession, the memory footprint of the webpage grows over 1GB or even more. It is reproducible on the official example app as well.*
The culprit is startAudio() by the look of it.
A very simple way to reproduce is to do startAudio(), stopAudio() then again startAudio(), stopAudio()
It will always create a new VM instance without cleaning up the old one. When one joins a new session, I believe an automatic stopAudio(), startAudio() is what plays out, resulting in the multiplying VM-instances.
Error?
*The full error message or issue you are running into, where applicable.
See above.*
Troubleshooting Routes
I tried everything, even to get rid of the spawned VMs, but no joy. The VMs are identical. I have a React App with Vite.*
How To Reproduce
Steps to reproduce the behavior including:
*1. Authentication method or app type
React example app.*
*2. Any errors
Any rejoin (without reiniting the app) will result in the same.*
*3. Browser/client type and version
Windows 11 Chrome* 145.0.7632.76