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 / Stream not stopping #94

Open
cassieve opened this issue Mar 18, 2022 · 1 comment
Open

Memory Leak / Stream not stopping #94

cassieve opened this issue Mar 18, 2022 · 1 comment

Comments

@cassieve
Copy link

Hi,
On the winforms demo app, if you create another instance of the form.
new Form1().Show();
Then stream something rtsp / webcam on the new form, and close said form - the stream appears to carry on (even with the form, closed. Memory usages continuously increases. (Until app eventually crashes) The CPU usage also does not drop back down...

This also happens when you use DetachStream();

How do you properly close/dispose of a stream?

@Mer-CassieVE
Copy link

Hi,
Upon further investigating I determined that the memory leak seems to happen when you use a local webcam. If you close the popup form, and open it again the above the processor usage does not drop, and the memory usage increases. Using RTSP feeds seem to be OK.

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

2 participants