Memory leak when there is a problematic stream #1868
Unanswered
jmspereira
asked this question in
4. Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I have a setup where I connect to multiple cameras. Occasionally, one of the cameras may be defective, causing its stream to go up and down. In such cases, I attempt to reconnect to the camera using the minimal example below:
However, after each reconnect the memory goes up slightly, causing a memory leak. Apparently, calling the garbage collector explicitly after setting the capture container to None solves the problem. Do you have any idea where the problem is?
Best,
Beta Was this translation helpful? Give feedback.
All reactions