-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StereoAudioRecorder gobbles memory; how to release? #863
Comments
Got it working by manually freeing the data stored by Add a
Then in my code, as part of According to Chrome Memory tool it works & in Safari too (Silicon Mac 13.4.1). |
I was struggling to deal with this memory consumption. I ended up removing RecordRTC.js lines 3136, 3141 and 3144. This class absolutely save me, but this "memory leak" almost ruins everything. Maybe some config in constructor do control wheter to keep this buffer or not, or the maximum number of bytes to save, can be very helpful. |
Today I was dealing with the same problem, I could see in the chrome memory how RecordRTC was allocating memory non-stop, for now adding this function solved the problem. |
any updates? Seems there's still no solution now without modifying lib's code directly. @muaz-khan |
Long recordings eat up a lot of memory, how to release it? Just using Chrome / Mac the below simple code, and have tried several methods implied by their names to clear any stored data.
Shutting off the recording stops the accumulation but that won't work in my application. Any ideas?
Trying these either break the recording or have no apaprent effect:
clearRecordedData()
clearRecordedDataCB()
resetVariables()
<-- doesn't workreset()
<-- stops recordingThe text was updated successfully, but these errors were encountered: