Skip to content
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 leak when sending a video as binary #95

Open
DougLilliequist opened this issue Apr 26, 2017 · 0 comments
Open

Memory leak when sending a video as binary #95

DougLilliequist opened this issue Apr 26, 2017 · 0 comments

Comments

@DougLilliequist
Copy link

DougLilliequist commented Apr 26, 2017

Heya!

I'm sending a video feed over websockets through the sendbinary method. But on the client side, the data is being updated very slowly (which results in a equally slowly updating canvas). Do you have any suggestions on how to improve the data sending and where to look to solve the problem?

edit When doing further investigation, whenever I connect to the server from a client, it causes a memory leak in the OF app and eventually crashes due to the app running out of memory. After tracing the heap, the leak is caused by an unsigned char array and void that keeps piling up.

If that is the case, which unsigned char array and void is it that has to be freed?

Other than that, super thanks for your brilliant plugin!

Best

Douglas

@DougLilliequist DougLilliequist changed the title binary to video very slow Memory leak when sending a video as binary Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant