Why does my application's memory usage steadily increase when using the Image Acquisition Toolbox 1.5 (R14) to log images to disk?
Mostrar comentarios más antiguos
I have created a videoinput object using the Image Acquisition Toolbox's VIDEOINPUT function. I then created an AVI-file object using the AVIFILE function, and specified that the videoinput object log data to disk using this avi file. For example:
my_log = 'my_datalog.avi';
aviobj = avifile(my_log);
vid = videoinput('winvideo')
vid.FramesPerTrigger = inf;
vid.LoggingMode = 'disk';
vid.DiskLogger = aviobj;
start(vid)
Since I am logging data to disk and not to memory, I do not expect that my application will run out of memory. However, after a period of time, I receive the following error:
Unable to allocate memory for an incoming image frame. Use help imaqmem to modify the frame memory limit.
Additionally, I can see my memory usage increase when periodically calling the IMAQMEM function.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Data Acquisition en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!