-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot enlarge memory arrays ERROR #65
Comments
How many voice connections do you have? You shouldn't run into this error with internal encoder until maybe 100-150 streams, and if so - I highly suggest cleaning up inactive connections or not using If you do have very small amount of connections spawned though, it may be a memory leak, but I highly doubt that this is the case. |
It appears to be happening when .VoiceConnections is only of length 10 |
@qeled how can I begin to figure out what might be causing this problem. I can confirm that it happens below 20 people streaming audio at the same time. |
I've added an option to enable encoding using a native module through the FFmpeg player in the commit above. Do an But again, I don't recommend using the |
I tried using opus and it did not seem to reduce cpu or ram usage at all |
If you have preencoded opus audio, optimize it further by using WebmOpusPlayer/OggOpusPlayer instead of transcoding every time through FFmpegEncoder. Though those only accept node stream objects as source (like HTTP(S) responses, file streams, etc.), and you have to implement networking/IO handling yourself if you need something like connection resuming. |
I am getting this error and I have no idea where its coming from.
The text was updated successfully, but these errors were encountered: