Why am I receiving an "Unable to allocate memory" error when acquiring an image from my camera?
Show older comments
I am attempting to acquire an image from my Logitech Webcam (using the "winvideo" adaptor) in R2021a, but I am receiving the following error message:
Unable to allocate memory for an incoming image frame due to insufficient free physical memory.
The output of my "memory" command is as follows:
>> memory
Maximum possible array: 3946 MB (4.138e+09 bytes) *Memory available for all arrays: 3946 MB (4.138e+09 bytes) *Memory used by MATLAB: 2684 MB (2.814e+09 bytes)Physical Memory (RAM): 16112 MB (1.689e+10 bytes)
* Limited by System Memory (physical + swap file) available.
What can I do to resolve this error?
Accepted Answer
More Answers (0)
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!