Skip to content

Memory leak when sending a video as binary #95

Open
@DougLilliequist

Description

@DougLilliequist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions