-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
memory access out of bounds #25
Comments
Thanks for report, David. I will check it. |
I searched online and I did not foud anything to help me. I'm not a profesionnal, so if you know where to look in the code to correct the situation please tell me and I will try to solve it on my own. Thanks. |
Anyone know how to solve this problem? I am trying to record audio up to 30 minutes. |
Hi @Kagami, have you managed to solve this issue? I'm also having trouble when trying to record more than 15mins. |
Hi! I've faced the same on the 8th minute. The reason might be the memory limit set in the package to 16MB. The obvious way seems to try to increase it, but:
In the same time, I've tried to increase only @Kagami do you think the increase of Thanks in advance! |
Hi, @oleg-preply. It's ok to bump When I was creating this library I thought 16MB is enough for most MP3 records, but seems like it's not. We should either allow to setup Second option is better because memory would be consumed in a more optimal way, without allocating MP3 twice, first at worker and then at main thread and spawning wasm module with a lot of memory. But first option is easier to implement and should be ok as short-term solution. (Btw, it's also possible to grow memory on demand, but I haven't implemented it either.) |
When i try to record more than 8min i receive this error. (in google chrome)
anybody know's how to remedy ?
Uncaught RuntimeError: memory access out of bounds
at wasm-function[11]:24
at wasm-function[254]:86
at wasm-function[241]:34
at vmsg_flush (blob:)
at onmessage (blob:)
thank you
The text was updated successfully, but these errors were encountered: