Initiating VideoReader gives memory leak?
Afficher commentaires plus anciens
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 commentaires
Raunak Gupta
le 21 Déc 2020
Hi Andreas,
I tried running the code snippet by using a video with size around 40 MB and run the for loop for 10000 times but still the memory didn’t increase after the runtime finished. Is there any specific operation happening in your case. Can you provide more details about code and the MATLAB Release you are using?
Andreas Nord
le 28 Déc 2020
Raunak Gupta
le 28 Déc 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/
Réponses (0)
Catégories
En savoir plus sur Video Formats and Interfaces dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!