Initiating VideoReader gives memory leak?

2 views (last 30 days)
Andreas Nord
Andreas Nord on 17 Dec 2020
Commented: Raunak Gupta on 28 Dec 2020
VideoReader initilization consumes RAM that is not returned (example loop below will consume all RAM )
for i=1:100
vReader = VideoReader(vidPath);
The use case is of course to read different videos, which results in the same problem. Any suggestions?
  3 Comments
Andreas Nord
Andreas Nord on 28 Dec 2020
Strange, I am not doing anything in addition to what I posted. Im using 2020b
Raunak Gupta
Raunak Gupta on 28 Dec 2020
Hi Andreas,
I tried with R2020b also and everything is working fine for me. Perhaps contacting MathWorks support can help resolve the issue if there is any.
http://www.mathworks.com/support/contact_us/

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!